36 #ifndef MapPointField_H
37 #define MapPointField_H
47 template<
class Type,
class MeshMapper>
58 const MeshMapper& mapper
63 template<
class Type,
class MeshMapper>
64 void MapInternalField<Type, MeshMapper, pointMesh>::operator()
67 const MeshMapper& mapper
70 if (field.size() != mapper.pointMap().sizeBeforeMapping())
74 "void MapInternalField<Type, MeshMapper, pointMesh>::operator()\n"
76 " Field<Type>& field,\n"
77 " const MeshMapper& mapper\n"
79 ) <<
"Incompatible size before mapping. Field size: " << field.size()
80 <<
" map size: " << mapper.pointMap().sizeBeforeMapping()
84 field.autoMap(mapper.pointMap());