Point patch field decomposer class. More...


Public Member Functions | |
| patchFieldDecomposer (const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr) | |
| 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 |
| Any unmapped values? More... | |
| const labelUList & | directAddressing () const |
| Return the direct addressing values. More... | |
Public Member Functions inherited from pointPatchFieldMapperPatchRef | |
| pointPatchFieldMapperPatchRef (const pointPatch &source, const pointPatch &target) | |
| Construct from components. More... | |
| const pointPatch & | sourcePatch () const |
| const pointPatch & | targetPatch () const |
Public Member Functions inherited from pointPatchFieldMapper | |
| pointPatchFieldMapper ()=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 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... | |
Point patch field decomposer class.
Definition at line 63 of file pointFieldDecomposer.H.
| patchFieldDecomposer | ( | const pointPatch & | completeMeshPatch, |
| const pointPatch & | procMeshPatch, | ||
| const labelList & | directAddr | ||
| ) |
Construct given addressing.
Definition at line 27 of file pointFieldDecomposer.C.
References Foam::abort(), pointPatch::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, forAll, pointBoundaryMesh::mesh(), pointPatch::meshPoints(), Foam::min(), and pointMesh::size().

|
inlinevirtual |
The size of the mapper.
Implements FieldMapper.
Definition at line 93 of file pointFieldDecomposer.H.
References UList< T >::size().

|
inlinevirtual |
Is it a direct (non-interpolating) mapper?
Implements FieldMapper.
Definition at line 98 of file pointFieldDecomposer.H.
|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 103 of file pointFieldDecomposer.H.
|
inlinevirtual |
Return the direct addressing values.
Reimplemented from FieldMapper.
Definition at line 108 of file pointFieldDecomposer.H.