Mapping class for a faPatchField. Edge mapping is calculated based on faceCells comparison of old and new patch. More...
Public Member Functions | |
| faPatchMapper (const faPatch &patch, const mapPolyMesh &mpm) | |
| Construct from mappers. More... | |
| virtual | ~faPatchMapper () |
| Destructor. More... | |
| virtual label | size () const |
| Return size. More... | |
| virtual label | sizeBeforeMapping () const |
| Return size of field before mapping. More... | |
| virtual bool | direct () const |
| Is the mapping direct. More... | |
| virtual bool | hasUnmapped () const |
| Are there unmapped values? I.e. do all size() elements get. 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 interpolation weights. More... | |
Public Member Functions inherited from faPatchFieldMapper | |
| faPatchFieldMapper () | |
| 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 |
Mapping class for a faPatchField. Edge mapping is calculated based on faceCells comparison of old and new patch.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Definition at line 62 of file faPatchMapper.H.
| faPatchMapper | ( | const faPatch & | patch, |
| const mapPolyMesh & | mpm | ||
| ) |
Construct from mappers.
Definition at line 101 of file faPatchMapper.C.
|
virtual |
Destructor.
Definition at line 117 of file faPatchMapper.C.
|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 122 of file faPatchMapper.H.
References faPatch::size().
|
inlinevirtual |
Return size of field before mapping.
Definition at line 128 of file faPatchMapper.H.
|
inlinevirtual |
|
inlinevirtual |
Are there unmapped values? I.e. do all size() elements get.
get value
Implements FieldMapper.
Definition at line 139 of file faPatchMapper.H.
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 125 of file faPatchMapper.C.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 136 of file faPatchMapper.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< labelList >::null().
|
virtual |
Return interpolation weights.
Reimplemented from FieldMapper.
Definition at line 146 of file faPatchMapper.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< scalarList >::null().