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