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;
105 Pout<<
"pointMesh::mapMesh(const polyMeshMap&): " 106 <<
"Mesh mapping." <<
endl;
117 Pout<<
"pointMesh::distribute(const polyDistributionMap&): " 118 <<
"Distribute." <<
endl;
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): " 154 <<
"Adding patch at " << patchi <<
endl;
162 <<
" pointBoundaryMesh size :" << boundary_.
size()
163 <<
" polyBoundaryMesh size :" << pbm.
size()
175 AddPatchFields<pointSphericalTensorField>
192 Pout<<
"pointMesh::reset(): " 193 <<
"Mesh reset." <<
endl;
virtual bool movePoints()
Move points.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
static void printStack(Ostream &)
Helper function to print a stack.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
virtual void reorderPatches(const labelUList &newToOld, const bool validBoundary)
Reordered/removed trailing patches. If validBoundary call is.
const word & name() const
Return name.
bool set(const label) const
Is element set.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void movePoints(const pointField &)
Correct pointBoundaryMesh after moving points.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void shuffle(const labelUList &newToOld, const bool validBoundary)
Reorders patches. Ordering does not have to be done in.
virtual void addPatch(const label patchi)
Inserted patch at patchi.
void topoChange()
Correct pointBoundaryMesh after topology update.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
Mesh representing a set of points created from polyMesh.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
void reset()
Reset pointBoundaryMesh with respect to the updated polyBoundaryMesh.
void reset()
Reset pointMesh with respect to the updated polyMesh.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual void topoChange(const polyTopoChangeMap &)
Update the mesh corresponding to given map.
defineTypeNameAndDebug(combustionModel, 0)
label size() const
Return the number of elements in the UPtrList.
const polyMesh & mesh() const
prefixOSstream Pout(cout, "Pout")
pointMesh(const polyMesh &pMesh)
Construct from polyMesh.
Mesh consisting of general polyhedral cells.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Registry of regIOobjects.
Class containing mesh-to-mesh mapping information.
const objectRegistry & db() const
Return the local objectRegistry.
word patchFieldType(const PatchField &pf)
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.