32 #ifndef MapFvVolField_H 33 #define MapFvVolField_H 43 template<
class Type,
class MeshMapper>
54 const MeshMapper& mapper
59 template<
class Type,
class MeshMapper>
63 const MeshMapper& mapper
66 if (
field.size() != mapper.volMap().sizeBeforeMapping())
69 <<
"Incompatible size before mapping. Field size: " <<
field.size()
70 <<
" map size: " << mapper.volMap().sizeBeforeMapping()
74 field.autoMap(mapper.volMap());
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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...
MapInternalField()=default
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...