34 #ifndef MapGeometricFields_H 35 #define MapGeometricFields_H 44 template<
class Type,
class MeshMapper,
class GeoMesh>
55 const MeshMapper& mapper
66 template<
class>
class PatchField,
72 const MeshMapper& mapper
77 mapper.thisDb().objectRegistry::template
78 lookupClass<GeometricField<Type, PatchField, GeoMesh>>()
89 iterator fieldIter = fields.
begin();
90 fieldIter != fields.
end();
100 if (&field.
mesh() == &mapper.mesh())
109 iterator fieldIter = fields.
begin();
110 fieldIter != fields.
end();
118 if (&field.
mesh() == &mapper.mesh())
148 else if (polyMesh::debug)
151 <<
" since originating mesh differs from that of mapper." #define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return name.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
static const char *const typeName
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.
void storeOldTimes() const
Store the old-time fields.
Pre-declare SubField and related Field type.
iterator begin()
Iterator set to the beginning of the HashTable.
An STL-conforming hash table.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
const Mesh & mesh() const
Return mesh.
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
const fileName & instance() const
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const Time & time() const
Return time.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.