Patch field mapper class for agglomerated meshes. More...
Public Member Functions | |
agglomPatchFieldMapper (const labelListList &addressing, const scalarListList &weights) | |
Construct given addressing. More... | |
virtual label | size () const |
virtual bool | direct () const |
bool | hasUnmapped () const |
Are there unmapped values? I.e. do all size() elements get. More... | |
virtual const labelListList & | addressing () const |
virtual const scalarListList & | weights () const |
![]() | |
generalFvPatchFieldMapper () | |
Null constructor. More... | |
![]() | |
fvPatchFieldMapper () | |
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 labelUList & | directAddressing () 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 |
Patch field mapper class for agglomerated meshes.
Definition at line 83 of file singleCellFvMesh.H.
|
inline |
Construct given addressing.
Definition at line 98 of file singleCellFvMesh.H.
References HashTable< regIOobject *>::empty(), and forAll.
|
inlinevirtual |
Definition at line 117 of file singleCellFvMesh.H.
References List< T >::size().
|
inlinevirtual |
Implements generalFieldMapper.
Definition at line 122 of file singleCellFvMesh.H.
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements generalFieldMapper.
Definition at line 127 of file singleCellFvMesh.H.
|
inlinevirtual |
Reimplemented from generalFieldMapper.
Definition at line 132 of file singleCellFvMesh.H.
|
inlinevirtual |
Reimplemented from generalFieldMapper.
Definition at line 137 of file singleCellFvMesh.H.
References singleCellFvMesh::singleCellFvMesh().