FA area mapper. More...
#include <faAreaMapper.H>


Public Member Functions | |
| faAreaMapper (const faAreaMapper &)=delete | |
| No copy construct. | |
| void | operator= (const faAreaMapper &)=delete |
| No copy assignment. | |
| faAreaMapper (const faMesh &mesh, const mapPolyMesh &mpm) | |
| Construct from components. | |
| virtual | ~faAreaMapper () |
| Destructor. | |
| const labelList & | newFaceLabels () const |
| Return new face labels. | |
| const labelList & | newFaceLabelsMap () const |
| Return new face labels map. | |
| 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. | |
| virtual bool | insertedObjects () const |
| Are there any inserted faces. | |
| virtual const labelList & | insertedObjectLabels () const |
| Return list of inserted faces. | |
| Public Member Functions inherited from morphFieldMapper | |
| morphFieldMapper ()=default | |
| Default construct. | |
| virtual | ~morphFieldMapper ()=default |
| Destructor. | |
| 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. | |
FA area mapper.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Definition at line 51 of file faAreaMapper.H.
|
delete |
No copy construct.
References faAreaMapper().
Referenced by faAreaMapper(), and operator=().


| faAreaMapper | ( | const faMesh & | mesh, |
| const mapPolyMesh & | mpm ) |
|
virtual |
Destructor.
Definition at line 246 of file faAreaMapper.C.
|
delete |
| const Foam::labelList & newFaceLabels | ( | ) | const |
Return new face labels.
Definition at line 252 of file faAreaMapper.C.
Referenced by size(), and faMesh::updateMesh().

| const Foam::labelList & newFaceLabelsMap | ( | ) | const |
Return new face labels map.
For new faces return old face index if it exists If the face has been added, index will be -1
Definition at line 263 of file faAreaMapper.C.
Referenced by faMesh::mapOldAreas(), and faMesh::updateMesh().

|
inlinevirtual |
Return size.
Implements FieldMapper.
Definition at line 173 of file faAreaMapper.H.
References newFaceLabels(), and UList< T >::size().

|
inlinevirtual |
Return size of field before mapping.
Implements morphFieldMapper.
Definition at line 181 of file faAreaMapper.H.
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 189 of file faAreaMapper.H.
Referenced by addressing(), directAddressing(), and weights().

|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 194 of file faAreaMapper.H.
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 274 of file faAreaMapper.C.
References Foam::abort(), direct(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 292 of file faAreaMapper.C.
References Foam::abort(), direct(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return interpolation weights.
Reimplemented from FieldMapper.
Definition at line 310 of file faAreaMapper.C.
References Foam::abort(), direct(), Foam::FatalError, and FatalErrorInFunction.

|
inlinevirtual |
Are there any inserted faces.
Implements morphFieldMapper.
Definition at line 217 of file faAreaMapper.H.
References UList< T >::empty(), and insertedObjectLabels().

|
virtual |
Return list of inserted faces.
Implements morphFieldMapper.
Definition at line 328 of file faAreaMapper.C.
Referenced by insertedObjects().
