31 void Foam::generalFieldMapper::map
34 const Field<Type>& mapF
72 direct() ? directAddressing().size() : addressing().size()
85 <<
"attempt to access null direct addressing"
95 <<
"attempt to access null interpolation addressing"
105 <<
"attempt to access null interpolation weights"
Pre-declare SubField and related Field type.
static const List< labelList > & null()
Return a null List.
static const UList< label > & null()
Return a null UList.
General field mapper supporting both direct and weighted mapping.
virtual const labelListList & addressing() const
Access the general addressing.
virtual const scalarListList & weights() const
Access the general weights.
virtual bool direct() const =0
Is the mapper direct?
virtual const labelUList & directAddressing() const
Access the direct addressing.
A class for managing temporary objects.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define IMPLEMENT_FIELD_MAPPER_MAP_OPERATOR(Type, mapperType)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
bool notNull(const T &t)
Return true if t is not a reference to the nullObject of type T.
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)