FieldMapper with weighted mapping from (optionally remote) quantities. More...
#include <distributedWeightedFvPatchFieldMapper.H>


Public Member Functions | |
| distributedWeightedFvPatchFieldMapper (const label singlePatchProc, const label comm, const mapDistributeBase *distMapPtr, const labelListList &addressing, const scalarListList &weights) | |
| Construct given addressing. | |
| virtual | ~distributedWeightedFvPatchFieldMapper ()=default |
| Destructor. | |
| virtual label | size () const |
| The size of the mapper. | |
| virtual bool | direct () const |
| Is it a direct (non-interpolating) mapper? | |
| virtual bool | distributed () const |
| Does the mapper have remote contributions? | |
| virtual const mapDistributeBase & | distributeMap () const |
| Return the distribution map. | |
| virtual bool | hasUnmapped () const |
| Any unmapped values? | |
| virtual const labelListList & | addressing () const |
| Return the interpolation addressing. | |
| virtual const scalarListList & | weights () const |
| Return the interpolation weights. | |
| Public Member Functions inherited from fvPatchFieldMapper | |
| fvPatchFieldMapper ()=default | |
| Default construct. | |
| Public Member Functions inherited from FieldMapper | |
| FieldMapper ()=default | |
| Default construct. | |
| virtual | ~FieldMapper ()=default |
| Destructor. | |
| virtual const labelUList & | directAddressing () const |
| Return the direct addressing values. | |
| template<class Type> | |
| tmp< Field< Type > > | operator() (const Field< Type > &fld) const |
| Perform mapping on the given field. | |
FieldMapper with weighted mapping from (optionally remote) quantities.
Definition at line 43 of file distributedWeightedFvPatchFieldMapper.H.
|
inline |
Construct given addressing.
Definition at line 62 of file distributedWeightedFvPatchFieldMapper.H.
References addressing(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and weights().

|
virtualdefault |
Destructor.
|
inlinevirtual |
The size of the mapper.
Implements FieldMapper.
Definition at line 128 of file distributedWeightedFvPatchFieldMapper.H.
References addressing(), mapDistributeBase::constructSize(), distributed(), distributeMap(), and UList< T >::size().

|
inlinevirtual |
Is it a direct (non-interpolating) mapper?
Implements FieldMapper.
Definition at line 140 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Does the mapper have remote contributions?
Reimplemented from FieldMapper.
Definition at line 145 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by size().

|
inlinevirtual |
Return the distribution map.
Reimplemented from FieldMapper.
Definition at line 150 of file distributedWeightedFvPatchFieldMapper.H.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by size().


|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 161 of file distributedWeightedFvPatchFieldMapper.H.
|
inlinevirtual |
Return the interpolation addressing.
Reimplemented from FieldMapper.
Definition at line 166 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper(), and size().

|
inlinevirtual |
Return the interpolation weights.
Reimplemented from FieldMapper.
Definition at line 171 of file distributedWeightedFvPatchFieldMapper.H.
Referenced by distributedWeightedFvPatchFieldMapper().
