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 |
Are there unmapped values? I.e. do all size() elements get. 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... | |
Public Member Functions inherited from pointPatchFieldMapper | |
pointPatchFieldMapper () | |
Null constructor. More... | |
Public Member Functions inherited from FieldMapper | |
FieldMapper () | |
Null constructor. More... | |
virtual | ~FieldMapper () |
Destructor. More... | |
virtual bool | distributed () const |
virtual const mapDistributeBase & | distributeMap () const |
template<class Type > | |
tmp< Field< Type > > | operator() (const Field< Type > &f) const |
pointPatchMapper | ( | const pointPatch & | patch, |
const pointMapper & | pointMap, | ||
const mapPolyMesh & | mpm | ||
) |
Construct from mappers.
Definition at line 113 of file pointPatchMapper.C.
|
virtual |
Destructor.
Definition at line 138 of file pointPatchMapper.C.
|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 129 of file pointPatchMapper.H.
References pointPatch::size().
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 134 of file pointPatchMapper.H.
|
inlinevirtual |
Return size of field before mapping.
Definition at line 140 of file pointPatchMapper.H.
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 146 of file pointPatchMapper.H.
References pointPatchMapper::addressing(), FieldMapper::direct(), pointPatchMapper::directAddressing(), and pointPatchMapper::weights().
Referenced by pointPatchMapper::addressing(), pointPatchMapper::directAddressing(), and pointPatchMapper::weights().
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 146 of file pointPatchMapper.C.
References Foam::abort(), pointPatchMapper::direct(), Foam::FatalError, and FatalErrorInFunction.
Referenced by pointPatchMapper::direct().
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 164 of file pointPatchMapper.C.
References Foam::abort(), pointPatchMapper::direct(), Foam::FatalError, and FatalErrorInFunction.
Referenced by pointPatchMapper::direct().
|
virtual |
Return interpolaion weights.
Reimplemented from FieldMapper.
Definition at line 182 of file pointPatchMapper.C.
References Foam::abort(), pointPatchMapper::direct(), Foam::FatalError, and FatalErrorInFunction.
Referenced by pointPatchMapper::direct().