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 field.autoMap(mapper.pointMap());
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Mesh representing a set of points created from polyMesh.
Pre-declare SubField and related Field type.
errorManip< error > abort(error &err)
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...