39 #ifndef MapFaEdgeField_H 40 #define MapFaEdgeField_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.edgeMap().sizeBeforeMapping())
76 <<
"Incompatible size before mapping. Field size: " <<
field.size()
77 <<
" map size: " << mapper.edgeMap().sizeBeforeMapping()
81 Info<<
"Note: No mapping of FA edge fields. Please reconsider algorithm" 84 field.autoMap(mapper.edgeMap());
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic templated field type.
errorManip< error > abort(error &err)
Mesh data needed to do the Finite Area discretisation.
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
MapInternalField()=default
messageStream Info
Information stream (stdout output on master, null elsewhere)