30 #ifndef MapFvVolField_H
31 #define MapFvVolField_H
40 template<
class Type,
class MeshMapper>
51 const MeshMapper& mapper
56 template<
class Type,
class MeshMapper>
60 const MeshMapper& mapper
63 if (field.size() != mapper.volMap().sizeBeforeMapping())
66 <<
"Incompatible size before mapping. Field size: " << field.size()
67 <<
" map size: " << mapper.volMap().sizeBeforeMapping()
71 mapper.volMap()(field, field);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
Mesh data needed to do the Finite Volume discretisation.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)