35 #ifndef motionSolver_H 36 #define motionSolver_H 144 virtual void solve() = 0;
153 virtual bool write()
const;
Class used for the construction of PtrLists of motionSolvers.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
autoPtr< motionSolver > operator()(Istream &is) const
virtual bool write() const
Optionally write motion state information for restart.
static autoPtr< motionSolver > New(const polyMesh &, const dictionary &)
Select constructed from polyMesh and dictionary.
Virtual base class for mesh motion solver.
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void updateMesh(const mapPolyMesh &)=0
Update local data for topology changes.
iNew(const polyMesh &mesh)
virtual void movePoints(const pointField &)=0
Update local data for geometry changes.
A class for handling words, derived from string.
virtual ~motionSolver()
Destructor.
virtual void solve()=0
Solve for motion.
declareRunTimeSelectionTable(autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
virtual tmp< pointField > curPoints() const =0
Provide current points for motion. Uses current motion field.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
const polyMesh & mesh() const
Return reference to mesh.
A class for managing temporary objects.
TypeName("motionSolver")
Runtime type information.
virtual autoPtr< motionSolver > clone() const
Clone function.
motionSolver(const polyMesh &mesh, const dictionary &, const word &type)
Construct from polyMesh and dictionary and type.
virtual void twoDCorrectPoints(pointField &) const