FieldMapper with weighted mapping from (optionally remote) quantities. More...
Public Member Functions | |
distributedWeightedFvPatchFieldMapper (const label singlePatchProc, const mapDistributeBase *distMapPtr, const labelListList &addressing, const scalarListList &weights) | |
Construct given addressing. More... | |
virtual | ~distributedWeightedFvPatchFieldMapper () |
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 labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
![]() | |
fvPatchFieldMapper () | |
Null constructor. More... | |
![]() | |
FieldMapper () | |
Null constructor. More... | |
virtual | ~FieldMapper () |
Destructor. More... | |
virtual const labelUList & | directAddressing () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
Private Attributes | |
const label | singlePatchProc_ |
const mapDistributeBase * | distMapPtr_ |
const labelListList & | addressing_ |
const scalarListList & | weights_ |
bool | hasUnmapped_ |
FieldMapper with weighted mapping from (optionally remote) quantities.
Definition at line 46 of file distributedWeightedFvPatchFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 66 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::addressing_, distributedWeightedFvPatchFieldMapper::distMapPtr_, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, distributedWeightedFvPatchFieldMapper::hasUnmapped_, distributedWeightedFvPatchFieldMapper::singlePatchProc_, and distributedWeightedFvPatchFieldMapper::size().
|
inlinevirtual |
Destructor.
Definition at line 99 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Implements FieldMapper.
Definition at line 105 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::addressing(), mapDistributeBase::constructSize(), distributedWeightedFvPatchFieldMapper::distributed(), distributedWeightedFvPatchFieldMapper::distributeMap(), and List::size().
Referenced by distributedWeightedFvPatchFieldMapper::distributedWeightedFvPatchFieldMapper().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 117 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 122 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::singlePatchProc_.
Referenced by distributedWeightedFvPatchFieldMapper::size().
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 127 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::distMapPtr_, Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by distributedWeightedFvPatchFieldMapper::size().
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 138 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::hasUnmapped_.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 143 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::addressing_.
Referenced by distributedWeightedFvPatchFieldMapper::size().
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 148 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::weights_.
|
private |
Definition at line 50 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::distributed(), and distributedWeightedFvPatchFieldMapper::distributedWeightedFvPatchFieldMapper().
|
private |
Definition at line 52 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::distributedWeightedFvPatchFieldMapper(), and distributedWeightedFvPatchFieldMapper::distributeMap().
|
private |
Definition at line 54 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::addressing(), and distributedWeightedFvPatchFieldMapper::distributedWeightedFvPatchFieldMapper().
|
private |
Definition at line 56 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::weights().
|
private |
Definition at line 58 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::distributedWeightedFvPatchFieldMapper(), and distributedWeightedFvPatchFieldMapper::hasUnmapped().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.