46 boundary_(*this, pMesh.boundaryMesh())
50 Pout<<
"pointMesh::pointMesh(const polyMesh&): "
51 <<
"Constructing from polyMesh " << pMesh.
name()
56 boundary_.calcGeometry();
66 Pout<<
"~pointMesh::pointMesh()"
79 Pout<<
"pointMesh::movePoints(const pointField&): "
80 <<
"Moving points." <<
endl;
93 Pout<<
"pointMesh::topoChange(const polyTopoChangeMap&): "
94 <<
"Topology change." <<
endl;
97 boundary_.topoChange();
105 Pout<<
"pointMesh::mapMesh(const polyMeshMap&): "
106 <<
"Mesh mapping." <<
endl;
109 boundary_.topoChange();
117 Pout<<
"pointMesh::distribute(const polyDistributionMap&): "
118 <<
"Distribute." <<
endl;
121 boundary_.topoChange();
128 const bool validBoundary
133 Pout<<
"pointMesh::reorderPatches( const labelUList&, const bool): "
134 <<
"Updating for reordered patches." <<
endl;
138 boundary_.shuffle(newToOld, validBoundary);
141 ReorderPatchFields<pointScalarField>(db, newToOld);
142 ReorderPatchFields<pointVectorField>(db, newToOld);
143 ReorderPatchFields<pointSphericalTensorField>(db, newToOld);
144 ReorderPatchFields<pointSymmTensorField>(db, newToOld);
145 ReorderPatchFields<pointTensorField>(db, newToOld);
153 Pout<<
"pointMesh::addPatch(const label): "
159 if (pbm.
size() != boundary_.size())
162 <<
" pointBoundaryMesh size :" << boundary_.size()
163 <<
" polyBoundaryMesh size :" << pbm.
size()
175 AddPatchFields<pointSphericalTensorField>
192 Pout<<
"pointMesh::reset(): "
193 <<
"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.
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")