Go to the documentation of this file.
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();
int debug
Static debugging option.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
void MapGeometricFields(const MeshMapper &mapper)
Generic Geometric field mapper.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
Mesh consisting of general polyhedral cells.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Mesh representing a set of points created from polyMesh.
const word & name() const noexcept
Return name.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
bool movePoints()
Move points.
defineTypeNameAndDebug(combustionModel, 0)
void updateMesh(const mapPolyMesh &mpm)
Update the mesh corresponding to given map.