Processor patch field decomposer class. Maps either owner or. More...
Public Member Functions | |
processorVolPatchFieldDecomposer (const labelUList &faceOwner, const labelUList &faceNeigbour, const labelUList &addressingSlice) | |
Construct addressing from details. More... | |
processorVolPatchFieldDecomposer (const polyMesh &mesh, const labelUList &addressingSlice) | |
Construct given addressing from complete mesh. 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 labelUList & | directAddressing () const |
Return the direct addressing values. 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 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... | |
Processor patch field decomposer class. Maps either owner or.
neighbour data (no interpolate anymore - processorFvPatchField holds neighbour data)
Definition at line 118 of file fvFieldDecomposer.H.
processorVolPatchFieldDecomposer | ( | const labelUList & | faceOwner, |
const labelUList & | faceNeigbour, | ||
const labelUList & | addressingSlice | ||
) |
Construct addressing from details.
Definition at line 49 of file fvFieldDecomposer.C.
References forAll, Foam::mag(), and UList< T >::size().
processorVolPatchFieldDecomposer | ( | const polyMesh & | mesh, |
const labelUList & | addressingSlice | ||
) |
Construct given addressing from complete mesh.
Definition at line 95 of file fvFieldDecomposer.C.
|
inlinevirtual |
The size of the mapper.
Implements FieldMapper.
Definition at line 150 of file fvFieldDecomposer.H.
References UList< T >::size().
|
inlinevirtual |
Is it a direct (non-interpolating) mapper?
Implements FieldMapper.
Definition at line 155 of file fvFieldDecomposer.H.
|
inlinevirtual |
Are there unmapped values.
Implements FieldMapper.
Definition at line 163 of file fvFieldDecomposer.H.
|
inlinevirtual |
Return the direct addressing values.
Reimplemented from FieldMapper.
Definition at line 168 of file fvFieldDecomposer.H.