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 |
![]() | |
pointPatchFieldMapperPatchRef (const pointPatch &source, const pointPatch &target) | |
Construct from components. More... | |
pointPatchFieldMapperPatchRef (const pointPatchFieldMapperPatchRef &)=delete | |
Disallow default bitwise copy construction. More... | |
const pointPatch & | sourcePatch () const |
const pointPatch & | targetPatch () const |
void | operator= (const pointPatchFieldMapperPatchRef &)=delete |
Disallow default bitwise assignment. More... | |
![]() | |
generalPointPatchFieldMapper () | |
Null constructor. More... | |
![]() | |
pointPatchFieldMapper () | |
Null constructor. More... | |
![]() | |
fieldMapper () | |
Null constructor. More... | |
virtual | ~fieldMapper () |
Destructor. More... | |
FOR_ALL_FIELD_TYPES (DEFINE_FIELD_MAPPER_OPERATOR,=0) | |
Map a field. More... | |
virtual void | operator() (Field< label > &f, const Field< label > &mapF) const =0 |
Map a label field. More... | |
virtual tmp< Field< label > > | operator() (const Field< label > &mapF) const =0 |
template<class Type > | |
void | operator() (Field< Type > &f, const tmp< Field< Type >> &tmapF) const |
Map a temporary field. More... | |
template<class Type > | |
tmp< Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
Map a temporary field. More... | |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | operator() (const tmp< Field< Type >> &tmapF) const |
![]() | |
generalFieldMapper () | |
Null constructor. More... | |
virtual | ~generalFieldMapper () |
Destructor. More... | |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
FOR_ALL_FIELD_TYPES (DEFINE_FIELD_MAPPER_OPERATOR,) | |
Map a field. More... | |
DEFINE_FIELD_MAPPER_OPERATOR (label,) | |
Map a label field. More... | |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | map (const Field< Type > &mapF) const |
Point patch field decomposer class.
Definition at line 58 of file pointFieldDecomposer.H.
patchFieldDecomposer | ( | const pointPatch & | completeMeshPatch, |
const pointPatch & | procMeshPatch, | ||
const labelList & | directAddr | ||
) |
Construct given addressing.
|
inline |
Definition at line 84 of file pointFieldDecomposer.H.
References List< T >::size().
|
inlinevirtual |
Implements generalFieldMapper.
Definition at line 89 of file pointFieldDecomposer.H.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements generalFieldMapper.
Definition at line 94 of file pointFieldDecomposer.H.
|
inlinevirtual |
Reimplemented from generalFieldMapper.
Definition at line 99 of file pointFieldDecomposer.H.
References pointFieldDecomposer::decomposeField(), pointFieldDecomposer::decomposeFields(), fields, pointPatchFieldMapperPatchRef::operator=(), pointFieldDecomposer::pointFieldDecomposer(), and pointFieldDecomposer::~pointFieldDecomposer().