37 #ifndef MapGeometricFields_H 38 #define MapGeometricFields_H 47 template<
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())
118 field.internalFieldRef(),
123 auto& bfield =
field.boundaryFieldRef();
132 bfield[patchi].autoMap(mapper.boundaryMap()[patchi]);
140 <<
" since originating mesh differs from that of mapper."
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
void MapGeometricFields(const MeshMapper &mapper)
Generic Geometric field mapper.
#define forAll(list, i)
Loop across all elements in list.
A HashTable similar to std::unordered_map.
int debug
Static debugging option.
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
messageStream Info
Information stream (stdout output on master, null elsewhere)
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
forAllConstIters(mixture.phases(), phase)