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 |
![]() | |
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 |
Private Attributes | |
const labelUList & | directAddressing_ |
bool | hasUnmapped_ |
|
inlinevirtual |
Destructor.
Definition at line 68 of file directFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 56 of file directFieldMapper.H.
References directFieldMapper::directAddressing_, directFieldMapper::hasUnmapped_, Foam::min(), and UList::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 74 of file directFieldMapper.H.
References directFieldMapper::directAddressing_, and UList::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.
References directFieldMapper::hasUnmapped_.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 89 of file directFieldMapper.H.
References directFieldMapper::directAddressing_.
|
private |
Definition at line 47 of file directFieldMapper.H.
Referenced by directFieldMapper::directAddressing(), directFieldMapper::patchFieldSubset(), and directFieldMapper::size().
|
private |
Definition at line 49 of file directFieldMapper.H.
Referenced by directFieldMapper::hasUnmapped(), and directFieldMapper::patchFieldSubset().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.