FA area mapper. More...


Public Member Functions | |
| faAreaMapper (const faMesh &mesh, const mapPolyMesh &mpm) | |
| Construct from components. More... | |
| virtual | ~faAreaMapper () |
| Destructor. More... | |
| const labelList & | newFaceLabels () const |
| Return new face labels. More... | |
| const labelList & | newFaceLabelsMap () const |
| Return new face labels map. 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... | |
Public Member Functions inherited from FieldMapper | |
| FieldMapper ()=default | |
| Default construct. More... | |
| virtual | ~FieldMapper ()=default |
| Destructor. More... | |
| virtual bool | distributed () const |
| Does the mapper have remote contributions? More... | |
| virtual const mapDistributeBase & | distributeMap () const |
| Return the distribution map. More... | |
| template<class Type > | |
| tmp< Field< Type > > | operator() (const Field< Type > &fld) const |
| Perform mapping on the given field. More... | |
FA area mapper.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
Definition at line 54 of file faAreaMapper.H.
| faAreaMapper | ( | const faMesh & | mesh, |
| const mapPolyMesh & | mpm | ||
| ) |
Construct from components.
Definition at line 273 of file faAreaMapper.C.
|
virtual |
Destructor.
Definition at line 311 of file faAreaMapper.C.
| const Foam::labelList & newFaceLabels | ( | ) | const |
Return new face labels.
Definition at line 319 of file faAreaMapper.C.
Referenced by faAreaMapper::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 330 of file faAreaMapper.C.
Referenced by faMesh::mapOldAreas(), and faMesh::updateMesh().

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

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

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

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

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

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