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 ()=default |
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 116 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 |
Are there unmapped values? I.e. do all size() elements get.
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.