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));
54 FieldType& field =
const_cast<FieldType&
>(*fieldIter());
56 if (&field.mesh() == &mapper.mesh())
60 Info<<
"Mapping " << field.typeName <<
' ' << field.name()
66 field.instance() = field.time().name();
68 else if (polyMesh::debug)
70 Info<<
"Not mapping " << field.typeName <<
' ' << field.name()
71 <<
" since originating mesh differs from that of mapper."
Map volume internal field on topology change. This is a partial template specialisation,...
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
An STL-conforming hash table.
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
static const HashSet< word > curGeometryFields
Set of names of registered current-time geometric fields.
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
void MapDimensionedFields(const MeshMapper &mapper)