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.
Info<< "Calculating turbulent flame speed field St\"<< endl;volScalarField St(IOobject("St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);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.