Go to the documentation of this file.
35 #ifndef motionSolver_H
36 #define motionSolver_H
146 virtual void solve() = 0;
static autoPtr< motionSolver > New(const polyMesh &)
Select constructed from polyMesh.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void movePoints(const pointField &)=0
Update local data for geometry changes.
A class for handling words, derived from string.
A class for managing temporary objects.
const polyMesh & mesh_
Reference to mesh.
compressionType
Enumeration for the format of data in the stream.
virtual void twoDCorrectPoints(pointField &) const
motionSolver(const polyMesh &mesh)
Construct from polyMesh.
TypeName("motionSolver")
Runtime type information.
Mesh consisting of general polyhedral cells.
virtual void solve()=0
Solve for motion.
declareRunTimeSelectionTable(autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const IOdictionary &dict),(mesh, dict))
Pre-declare SubField and related Field type.
dictionary coeffDict_
Model coefficients dictionary.
virtual tmp< pointField > curPoints() const =0
Provide current points for motion. Uses current motion field.
virtual bool read()
Read dynamicMeshDict dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Virtual base class for mesh motion solver.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
static IOobject stealRegistration(const IOdictionary &dict)
De-register object if registered and assign to current.
virtual void updateMesh(const mapPolyMesh &)=0
Update local data for topology changes.
const polyMesh & mesh() const
Return reference to mesh.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual ~motionSolver()
Destructor.
virtual bool writeObject(IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const
Write state using given format, version and compression.
streamFormat
Enumeration for the format of data in the stream.