49#ifndef dynamicFvMesh_H
50#define dynamicFvMesh_H
71 timeControl timeControl_;
80 dynamicFvMesh(
const dynamicFvMesh&) =
delete;
83 void operator=(
const dynamicFvMesh&) =
delete;
119 explicit dynamicFvMesh(
const IOobject&
io,
const bool doInit=
true);
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.
fvMesh(const fvMesh &)=delete
No copy construct.
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 ...
List< label > labelList
A List of labels.
List< face > faceList
List of faces.
List< cell > cellList
List of cell.
vectorField pointField
pointField is a vectorField.
#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.