FieldMapper with direct mapping. More...
Public Member Functions | |
patchFieldSubset (const labelUList &directAddressing) | |
Construct given addressing. More... | |
virtual | ~directFieldMapper () |
Destructor. More... | |
label | size () const |
bool | direct () const |
bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
const labelUList & | directAddressing () const |
Public Member Functions inherited from FieldMapper | |
FieldMapper () | |
Null constructor. More... | |
virtual | ~FieldMapper () |
Destructor. More... | |
virtual bool | distributed () const |
virtual const mapDistributeBase & | distributeMap () const |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
|
inlinevirtual |
Destructor.
Definition at line 68 of file directFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 56 of file directFieldMapper.H.
References Foam::min(), and UList< T >::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 74 of file directFieldMapper.H.
References UList< T >::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 79 of file directFieldMapper.H.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 84 of file directFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 89 of file directFieldMapper.H.