Processor patch field decomposer class. Surface field is assumed. More...
Public Member Functions | |
processorSurfacePatchFieldDecomposer (const labelUList &addressingSlice) | |
Construct given addressing. More... | |
label | size () const |
The size of the mapper. More... | |
bool | direct () const |
Is it a direct (non-interpolating) mapper? More... | |
bool | hasUnmapped () const |
Are there unmapped values. More... | |
const labelListList & | addressing () const |
Return the interpolation addressing. More... | |
const scalarListList & | weights () const |
Return the interpolation weights. More... | |
Public Member Functions inherited from fvPatchFieldMapper | |
fvPatchFieldMapper ()=default | |
Default construct. More... | |
Public Member Functions inherited from FieldMapper | |
FieldMapper ()=default | |
Default construct. More... | |
virtual | ~FieldMapper ()=default |
Destructor. More... | |
virtual label | size () const =0 |
The size of the mapper. More... | |
virtual bool | direct () const =0 |
Is it a direct (non-interpolating) mapper? More... | |
virtual bool | distributed () const |
Does the mapper have remote contributions? More... | |
virtual bool | hasUnmapped () const =0 |
Any unmapped values? More... | |
virtual const labelUList & | directAddressing () const |
Return the direct addressing values. More... | |
virtual const mapDistributeBase & | distributeMap () const |
Return the distribution map. More... | |
virtual const labelListList & | addressing () const |
Return the interpolation addressing. More... | |
virtual const scalarListList & | weights () const |
Return the interpolation weights. More... | |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &fld) const |
Perform mapping on the given field. More... | |
Processor patch field decomposer class. Surface field is assumed.
to have direction (so manipulates sign when mapping)
Definition at line 166 of file fvFieldDecomposer.H.
processorSurfacePatchFieldDecomposer | ( | const labelUList & | addressingSlice | ) |
Construct given addressing.
Definition at line 116 of file fvFieldDecomposer.C.
References forAll, Foam::mag(), and List< T >::resize().
|
inlinevirtual |
The size of the mapper.
Implements FieldMapper.
Definition at line 184 of file fvFieldDecomposer.H.
References UList< T >::size().
|
inlinevirtual |
Is it a direct (non-interpolating) mapper?
Implements FieldMapper.
Definition at line 189 of file fvFieldDecomposer.H.
|
inlinevirtual |
Are there unmapped values.
Implements FieldMapper.
Definition at line 195 of file fvFieldDecomposer.H.
|
inlinevirtual |
Return the interpolation addressing.
Reimplemented from FieldMapper.
Definition at line 200 of file fvFieldDecomposer.H.
|
inlinevirtual |
Return the interpolation weights.
Reimplemented from FieldMapper.
Definition at line 205 of file fvFieldDecomposer.H.