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 |
bool | direct () const |
bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
const labelUList & | directAddressing () const |
patchFieldDecomposer (const pointPatch &completeMeshPatch, const pointPatch &procMeshPatch, const labelList &directAddr) | |
Construct given addressing. More... | |
label | size () const |
bool | direct () const |
bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
const labelUList & | directAddressing () const |
![]() | |
pointPatchFieldMapperPatchRef (const pointPatch &source, const pointPatch &target) | |
Construct from components. More... | |
const pointPatch & | sourcePatch () const |
const pointPatch & | targetPatch () const |
![]() | |
pointPatchFieldMapper () | |
Null constructor. More... | |
![]() | |
FieldMapper () | |
Null constructor. More... | |
virtual | ~FieldMapper () |
Destructor. More... | |
virtual bool | distributed () const |
virtual const mapDistributeBase & | distributeMap () const |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
Private Attributes | |
labelList | directAddressing_ |
bool | hasUnmapped_ |
Does map contain any unmapped values. More... | |
Point patch field decomposer class.
Definition at line 57 of file pointFieldDecomposer.H.
patchFieldDecomposer | ( | const pointPatch & | completeMeshPatch, |
const pointPatch & | procMeshPatch, | ||
const labelList & | directAddr | ||
) |
Construct given addressing.
Definition at line 31 of file pointFieldDecomposer.C.
References Foam::abort(), pointPatch::boundaryMesh(), Foam::FatalError, FatalErrorInFunction, forAll, pointBoundaryMesh::mesh(), pointPatch::meshPoints(), Foam::min(), and pointMesh::size().
patchFieldDecomposer | ( | const pointPatch & | completeMeshPatch, |
const pointPatch & | procMeshPatch, | ||
const labelList & | directAddr | ||
) |
Construct given addressing.
|
inlinevirtual |
Implements FieldMapper.
Definition at line 83 of file pointFieldDecomposer.H.
References pointFieldDecomposer::patchFieldDecomposer::directAddressing_, and List::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 88 of file pointFieldDecomposer.H.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 93 of file pointFieldDecomposer.H.
References pointFieldDecomposer::patchFieldDecomposer::hasUnmapped_.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 98 of file pointFieldDecomposer.H.
References pointFieldDecomposer::patchFieldDecomposer::directAddressing_.
|
inlinevirtual |
Implements FieldMapper.
Definition at line 83 of file pointFieldDecomposer.H.
References pointFieldDecomposer::patchFieldDecomposer::directAddressing_, and List::size().
|
inlinevirtual |
Implements FieldMapper.
Definition at line 88 of file pointFieldDecomposer.H.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 93 of file pointFieldDecomposer.H.
References pointFieldDecomposer::patchFieldDecomposer::hasUnmapped_.
|
inlinevirtual |
Reimplemented from FieldMapper.
Definition at line 98 of file pointFieldDecomposer.H.
References pointFieldDecomposer::patchFieldDecomposer::directAddressing_.
|
private |
Definition at line 63 of file pointFieldDecomposer.H.
Referenced by pointFieldDecomposer::patchFieldDecomposer::directAddressing(), and pointFieldDecomposer::patchFieldDecomposer::size().
|
private |
Does map contain any unmapped values.
Definition at line 66 of file pointFieldDecomposer.H.
Referenced by pointFieldDecomposer::patchFieldDecomposer::hasUnmapped().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.