Processor patch field decomposer class. More...


Public Member Functions | |
| processorAreaPatchFieldDecomposer (const label nTotalFaces, const labelUList &edgeOwner, const labelUList &edgeNeigbour, const labelUList &addressingSlice, const scalarField &edgeWeights=scalarField::null()) | |
| Construct addressing from details. More... | |
| processorAreaPatchFieldDecomposer (const faMesh &mesh, const labelUList &addressingSlice) | |
| Construct given addressing from complete mesh. More... | |
| label | size () const |
| The size of the mapper. More... | |
| virtual label | sizeBeforeMapping () const |
| bool | direct () const |
| Is it a direct (non-interpolating) mapper? More... | |
| virtual bool | hasUnmapped () const |
| Any 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 faPatchFieldMapper | |
| faPatchFieldMapper ()=default | |
| Default construct. More... | |
Public Member Functions inherited from FieldMapper | |
| FieldMapper ()=default | |
| Default construct. More... | |
| virtual | ~FieldMapper ()=default |
| Destructor. More... | |
| virtual bool | distributed () const |
| Does the mapper have remote contributions? More... | |
| virtual const labelUList & | directAddressing () const |
| Return the direct addressing values. More... | |
| virtual const mapDistributeBase & | distributeMap () const |
| Return the distribution map. 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.
Definition at line 124 of file faFieldDecomposer.H.
| processorAreaPatchFieldDecomposer | ( | const label | nTotalFaces, |
| const labelUList & | edgeOwner, | ||
| const labelUList & | edgeNeigbour, | ||
| const labelUList & | addressingSlice, | ||
| const scalarField & | edgeWeights = scalarField::null() |
||
| ) |
Construct addressing from details.
Definition at line 48 of file faFieldDecomposer.C.
References forAll, List< T >::resize(), and UList< T >::size().

| processorAreaPatchFieldDecomposer | ( | const faMesh & | mesh, |
| const labelUList & | addressingSlice | ||
| ) |
Construct given addressing from complete mesh.
Definition at line 111 of file faFieldDecomposer.C.
|
inlinevirtual |
The size of the mapper.
Implements FieldMapper.
Definition at line 160 of file faFieldDecomposer.H.
References UList< T >::size().

|
inlinevirtual |
Definition at line 165 of file faFieldDecomposer.H.
|
inlinevirtual |
Is it a direct (non-interpolating) mapper?
Implements FieldMapper.
Definition at line 170 of file faFieldDecomposer.H.
|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 175 of file faFieldDecomposer.H.
|
inlinevirtual |
Return the interpolation addressing.
Reimplemented from FieldMapper.
Definition at line 180 of file faFieldDecomposer.H.
|
inlinevirtual |
Return the interpolation weights.
Reimplemented from FieldMapper.
Definition at line 185 of file faFieldDecomposer.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.