39#ifndef MapFaAreaField_H
40#define MapFaAreaField_H
50template<
class Type,
class MeshMapper>
61 const MeshMapper& mapper
66template<
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());
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
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.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...