37#ifndef MapGeometricFields_H
38#define MapGeometricFields_H
47template<
class Type,
class MeshMapper,
class GeoMesh>
58 const MeshMapper& mapper
69 template<
class>
class PatchField,
75 const MeshMapper& mapper
82 mapper.thisDb().objectRegistry::template
83 lookupClass<FieldType>()
93 FieldType&
field =
const_cast<FieldType&
>(*fieldIter());
97 if (&
field.mesh() == &mapper.mesh())
99 field.storeOldTimes();
105 FieldType&
field =
const_cast<FieldType&
>(*fieldIter());
107 if (&
field.mesh() == &mapper.mesh())
119 typename FieldType::Boundary& bfield =
field.boundaryFieldRef();
128 bfield[patchi].autoMap(mapper.boundaryMap()[patchi]);
133 else if (polyMesh::debug)
136 <<
" since originating mesh differs from that of mapper."
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Generic GeometricField class.
A HashTable similar to std::unordered_map.
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void MapGeometricFields(const MeshMapper &mapper)
Generic Geometric field mapper.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.