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::movePoints(): " 98 <<
"Moving points." <<
endl;
111 Pout<<
"pointMesh::updateMesh(const mapPolyMesh&): " 112 <<
"Updating for topology changes." <<
nl <<
endl;
114 boundary_.updateMesh();
bool movePoints()
Move points.
const word & name() const noexcept
Return the object name.
constexpr char nl
The newline '\n' character (0x0a)
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.
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...
int debug
Static debugging option.
defineTypeNameAndDebug(combustionModel, 0)
Mesh consisting of general polyhedral cells.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.