49#ifndef dynamicFvMesh_H
50#define dynamicFvMesh_H
71 timeControl timeControl_;
134 const bool syncPar =
true
145 const bool syncPar =
true
174 virtual bool init(
const bool doInit);
186 virtual bool update() = 0;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Extract command arguments and options from the supplied argc and argv parameters.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base class for geometry and/or topology changing fvMesh.
virtual ~dynamicFvMesh()=default
Destructor.
virtual bool dynamic() const
Is mesh dynamic.
virtual bool controlledUpdate()
Update the mesh if controller permits.
virtual bool init(const bool doInit)
Initialise all non-demand-driven data.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Select, construct and return the dynamicFvMesh.
virtual bool update()=0
Update the mesh for both mesh motion and topology change.
declareRunTimeSelectionTable(autoPtr, dynamicFvMesh, IOobject,(const IOobject &io),(io))
declareRunTimeSelectionTable(autoPtr, dynamicFvMesh, doInit,(const IOobject &io, const bool doInit),(io, doInit))
TypeName("dynamicFvMesh")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
virtual const faceList & faces() const
Return raw faces.
virtual const pointField & points() const
Return raw points.
const cellList & cells() const
General time dependent execution controller. The execution parameters are given by the "Control" and ...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
Foam::argList args(argc, argv)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.