31 #ifndef MapDimensionedFields_H 32 #define MapDimensionedFields_H 42 template<
class Type,
class MeshMapper,
class GeoMesh>
48 TableType
fields(mapper.thisDb().template lookupClass<FieldType>(
true));
52 FieldType& field =
const_cast<FieldType&
>(*fieldIter());
54 if (&field.mesh() == &mapper.mesh())
58 Info<<
"Mapping " << field.typeName <<
' ' << field.name()
64 field.instance() = field.time().timeName();
66 else if (polyMesh::debug)
68 Info<<
"Not mapping " << field.typeName <<
' ' << field.name()
69 <<
" since originating mesh differs from that of mapper."
void MapDimensionedFields(const MeshMapper &mapper)
Ostream & endl(Ostream &os)
Add newline and flush stream.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
An STL-conforming hash table.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
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...
Map volume internal field on topology change. This is a partial template specialisation, see MapGeometricFields.