FA edge mapper. Currently, edge-based finite area data is not mapped, but only resized, since edge-based mapping data is not available. More...
Public Member Functions | |
faEdgeMapper (const faMesh &mesh, const mapPolyMesh &mpm) | |
Construct from components. More... | |
virtual | ~faEdgeMapper () |
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 |
Any unmapped values? 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... | |
virtual bool | insertedObjects () const |
Are there any inserted faces. More... | |
virtual const labelList & | insertedObjectLabels () const |
Return list of inserted faces. More... | |
Public Member Functions inherited from morphFieldMapper | |
morphFieldMapper ()=default | |
Default construct. More... | |
virtual | ~morphFieldMapper ()=default |
Destructor. More... | |
virtual label | sizeBeforeMapping () const =0 |
Return size of field before mapping. More... | |
virtual bool | insertedObjects () const =0 |
Are there any inserted objects. More... | |
virtual const labelList & | insertedObjectLabels () const =0 |
Return list of inserted objects. More... | |
Public Member Functions inherited from FieldMapper | |
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... | |
FA edge mapper. Currently, edge-based finite area data is not mapped, but only resized, since edge-based mapping data is not available.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Definition at line 59 of file faEdgeMapper.H.
faEdgeMapper | ( | const faMesh & | mesh, |
const mapPolyMesh & | mpm | ||
) |
Construct from components.
Definition at line 59 of file faEdgeMapper.C.
|
virtual |
Destructor.
Definition at line 75 of file faEdgeMapper.C.
|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 115 of file faEdgeMapper.H.
References faMesh::nInternalEdges().
|
inlinevirtual |
Return size of field before mapping.
Implements morphFieldMapper.
Definition at line 121 of file faEdgeMapper.H.
|
inlinevirtual |
|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 132 of file faEdgeMapper.H.
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 83 of file faEdgeMapper.C.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 94 of file faEdgeMapper.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< labelList >::null().
|
virtual |
Return interpolation weights.
Reimplemented from FieldMapper.
Definition at line 104 of file faEdgeMapper.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< scalarList >::null().
|
inlinevirtual |
Are there any inserted faces.
Implements morphFieldMapper.
Definition at line 147 of file faEdgeMapper.H.
|
inlinevirtual |
Return list of inserted faces.
Implements morphFieldMapper.
Definition at line 153 of file faEdgeMapper.H.
References List< label >::null().