39 #ifndef MapFaAreaField_H 40 #define MapFaAreaField_H 50 template<
class Type,
class MeshMapper>
61 const MeshMapper& mapper
66 template<
class Type,
class MeshMapper>
70 const MeshMapper& mapper
73 if (
field.size() != mapper.areaMap().sizeBeforeMapping())
76 <<
"Incompatible size before mapping. Field size: " <<
field.size()
77 <<
" map size: " << mapper.areaMap().sizeBeforeMapping()
81 field.autoMap(mapper.areaMap());
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.
Generic templated field type.
errorManip< error > abort(error &err)
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
MapInternalField()=default
Mesh data needed to do the Finite Area discretisation.