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 ()=default |
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 |
Public Member Functions inherited from fvPatchFieldMapper | |
fvPatchFieldMapper () | |
Null constructor. More... | |
Public Member Functions inherited from FieldMapper | |
FieldMapper () | |
Null constructor. More... | |
virtual | ~FieldMapper ()=default |
Destructor. More... | |
virtual const labelUList & | directAddressing () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
FieldMapper with weighted mapping from (optionally remote) quantities.
Definition at line 49 of file distributedWeightedFvPatchFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 69 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::addressing(), Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
|
virtualdefault |
Destructor.
|
inlinevirtual |
Implements FieldMapper.
Definition at line 108 of file distributedWeightedFvPatchFieldMapper.H.
References distributedWeightedFvPatchFieldMapper::addressing(), mapDistributeBase::constructSize(), distributedWeightedFvPatchFieldMapper::distributed(), and distributedWeightedFvPatchFieldMapper::distributeMap().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 120 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 125 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::size().
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 130 of file distributedWeightedFvPatchFieldMapper.H.
References 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 141 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 146 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper::distributedWeightedFvPatchFieldMapper(), and distributedWeightedFvPatchFieldMapper::size().
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 151 of file distributedWeightedFvPatchFieldMapper.H.