37#ifndef simplifiedDynamicFvMesh_H
38#define simplifiedDynamicFvMesh_H
50namespace simplifiedMeshes
62 TypeName(
"simplifiedDynamicFvMeshBase");
94template<
class DynamicMeshType>
99 public DynamicMeshType
131#define createProxyDynamicFvMesh(Type) \
133typedef simplifiedMeshes::SimplifiedDynamicFvMesh<Type> simplified##Type; \
136const word simplified##Type::typeName(Type::typeName_()); \
138namespace simplifiedMeshes \
140 addToRunTimeSelectionTable \
142 simplifiedDynamicFvMeshBase, \
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base class for geometry and/or topology changing fvMesh.
static const word & regionName(const word ®ion)
The mesh region name or word::null if polyMesh::defaultRegion.
virtual bool update()
Update the mesh for both mesh motion and topology change.
SimplifiedDynamicFvMesh(const Time &runTime, const word ®ionName)
Constructor.
ClassNameNoDebug(DynamicMeshType::typeName_.c_str())
columnFvMeshInfo(const Time &runTime, const word ®ionName)
virtual ~simplifiedDynamicFvMeshBase()=default
Destructor.
simplifiedDynamicFvMeshBase()
Constructor.
TypeName("simplifiedDynamicFvMeshBase")
Runtime type information.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Return a reference to the selected simplified mesh.
declareRunTimeSelectionTable(autoPtr, dynamicFvMesh, time,(const Time &runTime, const word ®ionName),(runTime, regionName))
A class for handling words, derived from Foam::string.
#define ClassNameNoDebug(TypeNameString)
Add typeName information from argument TypeNameString to a class.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.