45 void Foam::pointMesh::mapFields(
const mapPolyMesh& mpm)
49 Pout<<
"void pointMesh::mapFields(const mapPolyMesh&): " 50 <<
"Mapping all registered pointFields." 54 const pointMeshMapper m(*
this, mpm);
56 MapGeometricFields<scalar, pointPatchField, pointMeshMapper, pointMesh>(m);
57 MapGeometricFields<vector, pointPatchField, pointMeshMapper, pointMesh>(m);
65 MapGeometricFields<symmTensor, pointPatchField, pointMeshMapper, pointMesh>
67 MapGeometricFields<tensor, pointPatchField, pointMeshMapper, pointMesh>(m);
73 Foam::pointMesh::pointMesh(
const polyMesh& pMesh)
81 Pout<<
"pointMesh::pointMesh(const polyMesh&): " 82 <<
"Constructing from polyMesh " << pMesh.
name()
87 boundary_.calcGeometry();
97 Pout<<
"~pointMesh::pointMesh()" 109 Pout<<
"pointMesh::movePoints(const pointField&): " 110 <<
"Moving points." <<
endl;
123 Pout<<
"pointMesh::updateMesh(const mapPolyMesh&): " 124 <<
"Updating for topology changes." <<
endl;
bool movePoints()
Move points.
const word & name() const
Return name.
void movePoints(const pointField &)
Correct polyBoundaryMesh after moving points.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface...
Ostream & endl(Ostream &os)
Add newline and flush stream.
void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.
void updateMesh()
Correct polyBoundaryMesh after topology update.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void MapGeometricFields(const MeshMapper &mapper)
Generic Geometric field mapper.
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...
defineTypeNameAndDebug(combustionModel, 0)
prefixOSstream Pout(cout, "Pout")
Mesh consisting of general polyhedral cells.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.