26 #ifndef MERCURYDPM_WEARABLENURBSWALL_H
27 #define MERCURYDPM_WEARABLENURBSWALL_H
62 void read(std::istream& is)
override;
67 void write(std::ostream& os)
const override;
72 std::string
getName()
const final;
89 const std::vector<std::vector<Vec3D>>& controlPoints,
const std::vector<std::vector<Mdouble>>& weights)
const;
91 const std::vector<std::vector<Vec3D>>& controlPoints,
const std::vector<std::vector<Mdouble>>& weights)
const;
Definition: NurbsSurface.h:34
const std::vector< std::vector< Vec3D > > & getControlPoints() const
Definition: NurbsSurface.h:141
const std::vector< std::vector< Mdouble > > & getWeights() const
Definition: NurbsSurface.h:144
const std::vector< Mdouble > & getKnotsU() const
Definition: NurbsSurface.h:147
void moveControlPoint(unsigned int indexU, unsigned int indexV, Vec3D dP, bool includingClosedOrPeriodic)
Definition: NurbsSurface.cc:658
const std::vector< Mdouble > & getKnotsV() const
Definition: NurbsSurface.h:150
This function defines a wall via a NurbsSurface.
Definition: NurbsWall.h:37
NurbsSurface nurbsSurface_
Definition: NurbsWall.h:95
Definition: Kernel/VTKWriter/VTKData.h:36
Definition: WearableNurbsWall.h:32
void processDebris()
Definition: WearableNurbsWall.cc:250
~WearableNurbsWall()
Default destructor.
Definition: WearableNurbsWall.cc:55
void computeWear() override
Definition: WearableNurbsWall.cc:162
WearableNurbsWall * copy() const final
Copy this wall and return a pointer to the copy.
Definition: WearableNurbsWall.cc:157
void write(std::ostream &os) const override
Writes this wall to an output stream, for example a restart file.
Definition: WearableNurbsWall.cc:143
Mdouble getVolumeUnderSurface()
Definition: WearableNurbsWall.h:98
void moveControlPoint(unsigned idxU, unsigned idxV, Vec3D dP)
Definition: WearableNurbsWall.h:94
void read(std::istream &is) override
Reads this wall from an input stream, for example a restart file.
Definition: WearableNurbsWall.cc:119
void set(Mdouble lengthU, Mdouble lengthV, Mdouble resolutionU, Mdouble resolutionV, bool periodicU=false, bool periodicV=false)
Definition: WearableNurbsWall.cc:65
WearableNurbsWall()
Default constructor: make a wall with default parameters.
Definition: WearableNurbsWall.cc:31
void storeDebris(Vec3D P, const Mdouble debris)
Definition: WearableNurbsWall.cc:202
Mdouble getVolumeUnderSurfaceX(const std::vector< Mdouble > &knotsU, const std::vector< Mdouble > &knotsV, const std::vector< std::vector< Vec3D >> &controlPoints, const std::vector< std::vector< Mdouble >> &weights) const
Definition: WearableNurbsWall.cc:322
std::vector< std::vector< Mdouble > > localDebris_
Definition: WearableNurbsWall.h:84
void writeWallDetailsVTK(VTKData &data) const override
Definition: WearableNurbsWall.cc:366
std::string getName() const final
Returns the name of the object, here the string "WearableNurbsWall".
Definition: WearableNurbsWall.cc:152
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73