Mapping class for a pointPatchField. More...
#include <pointPatchMapper.H>


Public Member Functions | |
| pointPatchMapper (const pointPatch &patch, const pointMapper &pointMap, const mapPolyMesh &mpm) | |
| Construct from mappers. | |
| virtual | ~pointPatchMapper () |
| Destructor. | |
| virtual label | size () const |
| Return size. | |
| virtual bool | hasUnmapped () const |
| Any unmapped values? | |
| virtual label | sizeBeforeMapping () const |
| Return size of field before mapping. | |
| virtual bool | direct () const |
| Is the mapping direct. | |
| virtual const labelUList & | directAddressing () const |
| Return direct addressing. | |
| virtual const labelListList & | addressing () const |
| Return interpolated addressing. | |
| virtual const scalarListList & | weights () const |
| Return interpolaion weights. | |
| Public Member Functions inherited from pointPatchFieldMapper | |
| pointPatchFieldMapper ()=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. | |
| pointPatchMapper | ( | const pointPatch & | patch, |
| const pointMapper & | pointMap, | ||
| const mapPolyMesh & | mpm ) |
Construct from mappers.
Definition at line 111 of file pointPatchMapper.C.
References pointPatchFieldMapper::pointPatchFieldMapper(), and size().

|
virtual |
Destructor.
Definition at line 134 of file pointPatchMapper.C.
|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 148 of file pointPatchMapper.H.
Referenced by pointPatchMapper().

|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 153 of file pointPatchMapper.H.
|
inlinevirtual |
Return size of field before mapping.
Definition at line 161 of file pointPatchMapper.H.
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 169 of file pointPatchMapper.H.
Referenced by addressing(), directAddressing(), and weights().

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

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

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