38#ifndef MapPointField_H
39#define MapPointField_H
49template<
class Type,
class MeshMapper>
60 const MeshMapper& mapper
65template<
class Type,
class MeshMapper>
69 const MeshMapper& mapper
72 if (
field.size() != mapper.pointMap().sizeBeforeMapping())
75 <<
"Incompatible size before mapping. Field size: " <<
field.size()
76 <<
" map size: " << mapper.pointMap().sizeBeforeMapping()
80 field.autoMap(mapper.pointMap());
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Generic internal field mapper. For "real" mapping, add template specialisations for mapping of intern...
MapInternalField()=default
Mesh representing a set of points created from polyMesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...