FieldMapper with direct mapping from remote quantities. More...
Public Member Functions | |
distributedUnallocatedDirectFieldMapper (const labelUList &directAddressing, const mapDistributeBase &distMap) | |
Construct given addressing. More... | |
virtual | ~distributedUnallocatedDirectFieldMapper () |
Destructor. More... | |
virtual label | size () const |
virtual bool | direct () const |
virtual bool | distributed () const |
virtual const mapDistributeBase & | distributeMap () const |
virtual bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
virtual const labelUList & | directAddressing () const |
distributedUnallocatedDirectFieldMapper (const labelUList &directAddressing, const mapDistributeBase &distMap) | |
Construct given addressing. More... | |
virtual | ~distributedUnallocatedDirectFieldMapper () |
Destructor. More... | |
virtual label | size () const |
virtual bool | direct () const |
virtual bool | distributed () const |
virtual const mapDistributeBase & | distributeMap () const |
virtual bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
virtual const labelUList & | directAddressing () const |
![]() | |
FieldMapper () | |
Null constructor. More... | |
virtual | ~FieldMapper () |
Destructor. More... | |
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_ |
const mapDistributeBase & | distMap_ |
bool | hasUnmapped_ |
FieldMapper with direct mapping from remote quantities.
Definition at line 43 of file distributedUnallocatedDirectFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 59 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::directAddressing_, distributedUnallocatedDirectFieldMapper::hasUnmapped_, Foam::min(), Foam::notNull(), and UList::size().
|
inlinevirtual |
Destructor.
Definition at line 80 of file distributedUnallocatedDirectFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 59 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::directAddressing_, distributedUnallocatedDirectFieldMapper::hasUnmapped_, Foam::min(), Foam::notNull(), and UList::size().
|
inlinevirtual |
Destructor.
Definition at line 80 of file distributedUnallocatedDirectFieldMapper.H.
|
inlinevirtual |
Implements FieldMapper.
Definition at line 86 of file distributedUnallocatedDirectFieldMapper.H.
References mapDistributeBase::constructSize(), distributedUnallocatedDirectFieldMapper::directAddressing_, distributedUnallocatedDirectFieldMapper::distMap_, Foam::notNull(), and UList::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 96 of file distributedUnallocatedDirectFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 101 of file distributedUnallocatedDirectFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 106 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::distMap_.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 111 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::hasUnmapped_.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 116 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::directAddressing_.
|
inlinevirtual |
Implements FieldMapper.
Definition at line 86 of file distributedUnallocatedDirectFieldMapper.H.
References mapDistributeBase::constructSize(), distributedUnallocatedDirectFieldMapper::directAddressing_, distributedUnallocatedDirectFieldMapper::distMap_, Foam::notNull(), and UList::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 96 of file distributedUnallocatedDirectFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 101 of file distributedUnallocatedDirectFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 106 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::distMap_.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 111 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::hasUnmapped_.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 116 of file distributedUnallocatedDirectFieldMapper.H.
References distributedUnallocatedDirectFieldMapper::directAddressing_.
|
private |
|
private |
Definition at line 49 of file distributedUnallocatedDirectFieldMapper.H.
Referenced by distributedUnallocatedDirectFieldMapper::distributeMap(), and distributedUnallocatedDirectFieldMapper::size().
|
private |
Definition at line 51 of file distributedUnallocatedDirectFieldMapper.H.
Referenced by distributedUnallocatedDirectFieldMapper::distributedUnallocatedDirectFieldMapper(), and distributedUnallocatedDirectFieldMapper::hasUnmapped().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.