30 #ifndef MapFvVolField_H 31 #define MapFvVolField_H 41 template<
class Type,
class MeshMapper>
52 const MeshMapper& mapper
57 template<
class Type,
class MeshMapper>
61 const MeshMapper& mapper
64 if (field.
size() != mapper.volMap().sizeBeforeMapping())
67 <<
"Incompatible size before mapping. Field size: " << field.
size()
68 <<
" map size: " << mapper.volMap().sizeBeforeMapping()
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
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...