36 #ifndef MapPointField_H
37 #define MapPointField_H
47 template<
class Type,
class MeshMapper>
58 const MeshMapper& mapper
63 template<
class Type,
class MeshMapper>
67 const MeshMapper& mapper
70 if (field.size() != mapper.pointMap().sizeBeforeMapping())
73 <<
"Incompatible size before mapping. Field size: " << field.size()
74 <<
" map size: " << mapper.pointMap().sizeBeforeMapping()
78 mapper.pointMap()(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 representing a set of points created from polyMesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)