Mapping class for a pointPatchField. More...
Public Member Functions | |
pointPatchMapper (const pointPatch &patch, const pointMapper &pointMap, const mapPolyMesh &mpm) | |
Construct from mappers. More... | |
virtual | ~pointPatchMapper () |
Destructor. More... | |
virtual label | size () const |
Return size. More... | |
virtual bool | hasUnmapped () const |
Any unmapped values? More... | |
virtual label | sizeBeforeMapping () const |
Return size of field before mapping. More... | |
virtual bool | direct () const |
Is the mapping direct. More... | |
virtual const labelUList & | directAddressing () const |
Return direct addressing. More... | |
virtual const labelListList & | addressing () const |
Return interpolated addressing. More... | |
virtual const scalarListList & | weights () const |
Return interpolaion weights. More... | |
![]() | |
pointPatchFieldMapper ()=default | |
Default construct. More... | |
![]() | |
FieldMapper ()=default | |
Default construct. More... | |
virtual | ~FieldMapper ()=default |
Destructor. More... | |
virtual label | size () const =0 |
The size of the mapper. More... | |
virtual bool | direct () const =0 |
Is it a direct (non-interpolating) mapper? More... | |
virtual bool | distributed () const |
Does the mapper have remote contributions? More... | |
virtual bool | hasUnmapped () const =0 |
Any unmapped values? More... | |
virtual const labelUList & | directAddressing () const |
Return the direct addressing values. More... | |
virtual const mapDistributeBase & | distributeMap () const |
Return the distribution map. More... | |
virtual const labelListList & | addressing () const |
Return the interpolation addressing. More... | |
virtual const scalarListList & | weights () const |
Return the interpolation weights. More... | |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &fld) const |
Perform mapping on the given field. More... | |
pointPatchMapper | ( | const pointPatch & | patch, |
const pointMapper & | pointMap, | ||
const mapPolyMesh & | mpm | ||
) |
Construct from mappers.
Definition at line 115 of file pointPatchMapper.C.
|
virtual |
Destructor.
Definition at line 141 of file pointPatchMapper.C.
|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 128 of file pointPatchMapper.H.
References pointPatch::size().
|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 133 of file pointPatchMapper.H.
|
inlinevirtual |
Return size of field before mapping.
Definition at line 139 of file pointPatchMapper.H.
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 145 of file pointPatchMapper.H.
References FieldMapper::direct().
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 149 of file pointPatchMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 167 of file pointPatchMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return interpolaion weights.
Reimplemented from FieldMapper.
Definition at line 185 of file pointPatchMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.