Go to the documentation of this file.
38 #ifndef motionSolver_H
39 #define motionSolver_H
165 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...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual void movePoints(const pointField &)=0
Update local data for geometry changes.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual void twoDCorrectPoints(pointField &) const
motionSolver(const polyMesh &mesh)
Construct from polyMesh.
virtual ~motionSolver()=default
Destructor.
TypeName("motionSolver")
Runtime type information.
Mesh consisting of general polyhedral cells.
autoPtr< motionSolver > operator()(Istream &is) const
virtual void solve()=0
Solve for motion.
declareRunTimeSelectionTable(autoPtr, motionSolver, dictionary,(const polyMesh &mesh, const IOdictionary &dict),(mesh, dict))
iNew(const polyMesh &mesh)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual tmp< pointField > curPoints() const =0
Provide current points for motion. Uses current motion field.
The IOstreamOption is a simple container for options an IOstream can normally have.
virtual bool read()
Read dynamicMeshDict dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Virtual base class for mesh motion solver.
virtual autoPtr< motionSolver > clone() const
Clone function.
virtual tmp< pointField > newPoints()
Provide new points for motion. Solves for motion.
Class used for the construction of PtrLists of motionSolvers.
static IOobject stealRegistration(const IOdictionary &dict)
De-register object if registered and assign to current.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual void updateMesh(const mapPolyMesh &)=0
Update local data for topology changes.
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write state using stream options.
const polyMesh & mesh() const
Return reference to mesh.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.