Go to the documentation of this file.
21 #ifndef __fixedWall_hpp__
22 #define __fixedWall_hpp__
206 #endif //__fixed_hpp__
FUNCTION_H bool read(iIstream &is)
Read from input stream is.
INLINE_FUNCTION_HD realx3 pointVelocity(label n, const realx3 &p) const
Velocity at point p.
INLINE_FUNCTION_HD realx3 transferPoint(label n, const realx3 p, real dt) const
Transfer point p for dt seconds according to motion component n.
INLINE_FUNCTION_HD bool isMoving() const
Are walls moving.
bool writeDictionary(dictionary &dict) const
write to a dictionary
INLINE_FUNCTION_HD Model()
word indexToName(label i) const
Index of motion component to name.
bool move(real t, real dt)
Move points.
INLINE_FUNCTION_HD realx3 pointVelocity(int32 n, const realx3 p) const
INLINE_FUNCTION_HD bool transferPoint(label n, realx3 *pVec, size_t numP, real dt)
Transfer a vector of point pVec for dt seconds according to motion component n.
FUNCTION_H bool write(iOstream &os) const
Write to output stream os.
Fixed wall motion model for walls.
INLINE_FUNCTION_HD Model & operator=(const Model &)=default
INLINE_FUNCTION_HD realx3 transferPoint(int32 n, const realx3 p, real dt) const
int32 nameToIndex(const word &name) const
Name of the motion component to index.
fixedWall & operator=(const fixedWall &)=default
Copy assignment.
Model getModel(real t) const
Return motion model t is the current simulation time
INLINE_FUNCTION_HD int32 numComponents() const
~fixedWall()=default
Destructor.
bool readDictionary(const dictionary &dict)
Read from a dictionary.
TypeInfoNV("fixedWall")
Type info.
Motion model class to be passed to computational units/kernels for transfing points and returning vel...
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD realx3 operator()(int32 n, const realx3 &p) const