48 boundary_(*this, pMesh.boundaryMesh())
52 Pout<<
"pointMesh::pointMesh(const polyMesh&): "
53 <<
"Constructing from polyMesh " << pMesh.
name()
58 boundary_.calcGeometry();
68 Pout<<
"~pointMesh::pointMesh()"
81 Pout<<
"pointMesh::movePoints(const pointField&): "
82 <<
"Moving points." <<
endl;
95 Pout<<
"pointMesh::topoChange(const polyTopoChangeMap&): "
96 <<
"Topology change." <<
endl;
99 boundary_.topoChange();
107 Pout<<
"pointMesh::mapMesh(const polyMeshMap&): "
108 <<
"Mesh mapping." <<
endl;
111 boundary_.topoChange();
119 Pout<<
"pointMesh::distribute(const polyDistributionMap&): "
120 <<
"Distribute." <<
endl;
123 boundary_.topoChange();
130 const bool validBoundary
135 Pout<<
"pointMesh::reorderPatches( const labelUList&, const bool): "
136 <<
"Updating for reordered patches." <<
endl;
140 boundary_.shuffle(newToOld, validBoundary);
143 ReorderPatchFields<pointScalarField>(db, newToOld);
144 ReorderPatchFields<pointVectorField>(db, newToOld);
145 ReorderPatchFields<pointSphericalTensorField>(db, newToOld);
146 ReorderPatchFields<pointSymmTensorField>(db, newToOld);
147 ReorderPatchFields<pointTensorField>(db, newToOld);
155 Pout<<
"pointMesh::addPatch(const label): "
161 if (pbm.
size() != boundary_.size())
164 <<
" pointBoundaryMesh size :" << boundary_.size()
165 <<
" polyBoundaryMesh size :" << pbm.
size()
177 AddPatchFields<pointSphericalTensorField>
194 Pout<<
"pointMesh::reset(): "
195 <<
"Mesh reset." <<
endl;
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
const word & name() const
Return name.
label size() const
Return the number of elements in the UPtrList.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static void printStack(Ostream &)
Helper function to print a stack.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
Registry of regIOobjects.
Mesh representing a set of points created from polyMesh.
virtual bool movePoints()
Move points.
pointMesh(const polyMesh &pMesh)
Construct from polyMesh.
virtual void topoChange(const polyTopoChangeMap &)
Update the mesh corresponding to given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
static const HashSet< word > geometryFields
Set of names of registered geometric fields.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual void addPatch(const label patchi)
Inserted patch at patchi.
void reset()
Reset pointMesh with respect to the updated polyMesh.
virtual void reorderPatches(const labelUList &newToOld, const bool validBoundary)
Reordered/removed trailing patches. If validBoundary call is.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
word patchFieldType(const PatchField &pf)
prefixOSstream Pout(cout, "Pout")