70 if (motionSolvers_.size())
75 for (
label i = 1; i < motionSolvers_.size(); i++)
77 disp += motionSolvers_[i].curPoints() -
mesh().
points();
93 motionSolvers_[i].solve();
102 motionSolvers_[i].movePoints(points);
111 motionSolvers_[i].updateMesh(mpm);
Class used for the construction of PtrLists of motionSolvers.
virtual ~motionSolverList()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
virtual void solve()
Solve for motion.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Virtual base class for mesh motion solver.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
virtual const pointField & points() const
Return raw points.
motionSolverList(const polyMesh &, const dictionary &)
Construct from mesh and dictionary.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< pointField > curPoints() const
Provide current points for motion. Uses current motion field.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.