46 void Foam::pointMesh::mapFields(
const mapPolyMesh& mpm)
50 Pout<<
"void pointMesh::mapFields(const mapPolyMesh&): " 51 <<
"Mapping all registered pointFields." 55 const pointMeshMapper m(*
this, mpm);
57 MapGeometricFields<scalar, pointPatchField, pointMeshMapper, pointMesh>(m);
58 MapGeometricFields<vector, pointPatchField, pointMeshMapper, pointMesh>(m);
66 MapGeometricFields<symmTensor, pointPatchField, pointMeshMapper, pointMesh>
68 MapGeometricFields<tensor, pointPatchField, pointMeshMapper, pointMesh>(m);
74 Foam::pointMesh::pointMesh(
const polyMesh& pMesh)
76 MeshObject_type(pMesh),
82 Pout<<
"pointMesh::pointMesh(const polyMesh&): " 83 <<
"Constructing from polyMesh " << pMesh.
name()
88 boundary_.calcGeometry();
98 Pout<<
"pointMesh::movePoints(): " 99 <<
"Moving points." <<
endl;
112 Pout<<
"pointMesh::updateMesh(const mapPolyMesh&): " 113 <<
"Updating for topology changes." <<
nl <<
endl;
115 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.
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.