Mapping class for a faPatchField. Edge mapping is calculated based on faceCells comparison of old and new patch. More...
#include <faPatchMapper.H>


Public Member Functions | |
| faPatchMapper (const faPatchMapper &)=delete | |
| No copy construct. | |
| void | operator= (const faPatchMapper &)=delete |
| No copy assignment. | |
| faPatchMapper (const faPatch &patch, const mapPolyMesh &mpm) | |
| Construct from mappers. | |
| virtual | ~faPatchMapper () |
| Destructor. | |
| virtual label | size () const |
| Return size. | |
| virtual label | sizeBeforeMapping () const |
| Return size of field before mapping. | |
| virtual bool | direct () const |
| Is the mapping direct. | |
| virtual bool | hasUnmapped () const |
| Any unmapped values? | |
| virtual const labelUList & | directAddressing () const |
| Return direct addressing. | |
| virtual const labelListList & | addressing () const |
| Return interpolated addressing. | |
| virtual const scalarListList & | weights () const |
| Return interpolation weights. | |
| Public Member Functions inherited from faPatchFieldMapper | |
| faPatchFieldMapper ()=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. | |
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 57 of file faPatchMapper.H.
|
delete |
No copy construct.
References faPatchMapper().
Referenced by faPatchMapper(), and operator=().


| faPatchMapper | ( | const faPatch & | patch, |
| const mapPolyMesh & | mpm ) |
Construct from mappers.
Definition at line 90 of file faPatchMapper.C.
References size().

|
virtual |
Destructor.
Definition at line 106 of file faPatchMapper.C.
|
delete |
|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 136 of file faPatchMapper.H.
Referenced by faPatchMapper().

|
inlinevirtual |
Return size of field before mapping.
Definition at line 144 of file faPatchMapper.H.
|
inlinevirtual |
|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 157 of file faPatchMapper.H.
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 112 of file faPatchMapper.C.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 123 of file faPatchMapper.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< labelList >::null().

|
virtual |
Return interpolation weights.
Reimplemented from FieldMapper.
Definition at line 133 of file faPatchMapper.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< scalarList >::null().
