Go to the documentation of this file.
20 #ifndef __geometryMotion_hpp__
21 #define __geometryMotion_hpp__
35 template<
typename MotionModelType>
151 #ifndef BUILD_SHARED_LIBS
156 #endif //__geometryMotion_hpp__
const int8Vector_HD & pointMotionIndex() const override
Access to motion model index of points.
int8Vector_HD pointMotionIndex_
motion index mapped on each point
const int8Vector_HD & triMotionIndex() const override
Access to motion model index of triangles.
const auto & control() const
int8Vector_HD triMotionIndex_
motion index mapped on each triangle
TypeInfoTemplate("geometry", MotionModel)
Type info.
MotionModelType MotionModel
int32Vector_HD motionIndex_
motion indext mapped on each surface
bool moveGeometry()
Move geometry.
add_vCtor(geometry, geometryMotion, systemControl)
Add virtual constructor.
Timer moveGeomTimer_
timer for moveGeometry
geometryMotion(systemControl &control, const property &prop)
bool iterate() override
Iterate geometry one time step
property holds the pure properties of materials.
bool findMotionIndex()
determine the motion index of each triangle
Base class for geometry for managing tri-surfaces, geometry motion, and surface physical properties.
auto getModel(real t) const
Obtain motion model at time t.
bool afterIteration() override
Operations after each iteration.
bool beforeIteration() override
Operations before each iteration.
MotionModel & motionModel_
Ref to motion model.
word motionModelTypeName() const override
TypeName / TypeInfo of motion model.