Mapping class for a fvPatchField. More...
#include <fvPatchMapper.H>


Public Member Functions | |
| fvPatchMapper (const fvPatch &patch, const faceMapper &faceMap) | |
| Construct from mappers. | |
| virtual | ~fvPatchMapper () |
| Destructor. | |
| virtual label | size () const |
| Return size. | |
| virtual label | sizeBeforeMapping () const |
| Return size of field before mapping. | |
| virtual bool | direct () const |
| Is the mapping direct. | |
| virtual bool | hasUnmapped () const |
| Any unmapped values? | |
| virtual const labelUList & | directAddressing () const |
| Return direct addressing. | |
| virtual const labelListList & | addressing () const |
| Return interpolated addressing. | |
| virtual const scalarListList & | weights () const |
| Return interpolation weights. | |
| Public Member Functions inherited from fvPatchFieldMapper | |
| fvPatchFieldMapper ()=default | |
| Default construct. | |
| Public Member Functions inherited from FieldMapper | |
| FieldMapper ()=default | |
| Default construct. | |
| virtual | ~FieldMapper ()=default |
| Destructor. | |
| virtual bool | distributed () const |
| Does the mapper have remote contributions? | |
| virtual const mapDistributeBase & | distributeMap () const |
| Return the distribution map. | |
| template<class Type> | |
| tmp< Field< Type > > | operator() (const Field< Type > &fld) const |
| Perform mapping on the given field. | |
| fvPatchMapper | ( | const fvPatch & | patch, |
| const faceMapper & | faceMap ) |
Construct from mappers.
Definition at line 200 of file fvPatchMapper.C.
References Foam::faceMap().

|
virtual |
Destructor.
Definition at line 215 of file fvPatchMapper.C.
|
inlinevirtual |
|
inlinevirtual |
Return size of field before mapping.
Definition at line 148 of file fvPatchMapper.H.
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 156 of file fvPatchMapper.H.
Referenced by addressing(), directAddressing(), and weights().

|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 161 of file fvPatchMapper.H.
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 221 of file fvPatchMapper.C.
References Foam::abort(), direct(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 239 of file fvPatchMapper.C.
References Foam::abort(), direct(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return interpolation weights.
Reimplemented from FieldMapper.
Definition at line 257 of file fvPatchMapper.C.
References Foam::abort(), direct(), Foam::FatalError, and FatalErrorInFunction.
