35#ifndef Foam_pointMesh_H
36#define Foam_pointMesh_H
54 public MeshObject<polyMesh, UpdateableMeshObject, pointMesh>,
79 pointMesh(
const pointMesh&) =
delete;
82 void operator=(
const pointMesh&) =
delete;
90 typedef pointMesh
Mesh;
106 explicit pointMesh(
const polyMesh& pMesh);
224 IOstreamOption streamOpt,
225 const bool writeOnProc =
true
const MESH & mesh_
Reference to Mesh.
GeoMesh(const polyMesh &mesh)
readOption
Enumeration defining read preferences.
writeOption
Enumeration defining write preferences.
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const fileName & instance() const noexcept
Read access to instance path component.
A simple container for options an IOstream can normally have.
MeshObject(const polyMesh &mesh)
const polyMesh & mesh() const noexcept
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling file names.
Various mesh related information for a parallel run. Upon construction, constructs all info using par...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Registry of regIOobjects.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh,...
Mesh representing a set of points created from polyMesh.
void setInstance(const fileName &instance, const IOobjectOption::writeOption wOpt=IOobject::AUTO_WRITE)
Set the instance for mesh files.
bool movePoints()
Move points.
static label size(const Mesh &mesh)
The geometric (internal) size - number of mesh points.
~pointMesh()=default
Destructor.
bool hasGlobalData() const noexcept
Is demand-driven parallel info available?
static label boundary_size(const Mesh &mesh)
The geometric boundary size - not implemented.
const Time & time() const
Return Time from polyMesh.
virtual bool writeObject(IOstreamOption streamOpt, const bool writeOnProc=true) const
Write.
pointBoundaryMesh BoundaryMesh
The boundary type associated with the mesh.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh for underlying volume mesh.
const pointBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
label size() const
The geometric (internal) size - number of points.
const globalMeshData & globalData() const
Return parallel info (demand-driven).
static word meshSubDir
Return the mesh sub-directory name (usually "pointMesh").
bool operator==(const pointMesh &pm) const
bool operator!=(const pointMesh &pm) const
pointMesh Mesh
The mesh type.
A polyBoundaryMesh is a polyPatch list with registered IO, a reference to the associated polyMesh,...
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.