35 #ifndef Foam_pointMesh_H 36 #define Foam_pointMesh_H 54 public MeshObject<polyMesh, UpdateableMeshObject, pointMesh>,
82 void operator=(
const pointMesh&) =
delete;
224 IOstreamOption streamOpt,
225 const bool writeOnProc =
true bool movePoints()
Move points.
writeOption
Enumeration defining write preferences.
bool hasGlobalData() const noexcept
Is demand-driven parallel info available?
A class for handling file names.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh...
label nPoints() const noexcept
Number of mesh points.
Various mesh related information for a parallel run. Upon construction, constructs all info using par...
bool operator==(const pointMesh &pm) const
void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
pointMesh Mesh
The mesh type.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc=true) const
Write.
Mesh representing a set of points created from polyMesh.
bool operator!=(const pointMesh &pm) const
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const Time & time() const
Return Time from polyMesh.
const globalMeshData & globalData() const
Return parallel info (demand-driven)
const polyMesh & mesh() const noexcept
Reference to the mesh.
A class for handling words, derived from Foam::string.
~pointMesh()=default
Destructor.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
label size() const
The geometric (internal) size - number of points.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh...
const objectRegistry & thisDb() const
Return the object registry.
const fileName & instance() const noexcept
Read access to instance path component.
void setInstance(const fileName &instance, const IOobjectOption::writeOption wOpt=IOobject::AUTO_WRITE)
Set the instance for mesh files.
static word meshSubDir
Return the mesh sub-directory name (usually "pointMesh")
pointBoundaryMesh BoundaryMesh
The boundary type associated with the mesh.
Automatically write from objectRegistry::writeObject()
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh for underlying volume mesh.
Mesh consisting of general polyhedral cells.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Registry of regIOobjects.
const pointBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const polyMesh & mesh_
Reference to Mesh.
UpdateableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
static label boundary_size(const Mesh &mesh)
The geometric boundary size - not implemented.
readOption
Enumeration defining read preferences.