This object provides mapping and fill-in information for face data between the two meshes after the topological change. It is constructed from mapPolyMesh. More...
#include <faceMapper.H>


Public Member Functions | |
| faceMapper (const faceMapper &)=delete | |
| No copy construct. | |
| void | operator= (const faceMapper &)=delete |
| No copy assignment. | |
| faceMapper (const mapPolyMesh &mpm) | |
| Construct from mapPolyMesh. | |
| virtual | ~faceMapper () |
| Destructor. | |
| virtual label | size () const |
| The mapper size. | |
| virtual label | sizeBeforeMapping () const |
| Return size of field before mapping. | |
| virtual label | internalSizeBeforeMapping () const |
| Return number of internal faces 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 interpolaion weights. | |
| virtual const labelHashSet & | flipFaceFlux () const |
| Return flux flip map. | |
| virtual label | nOldInternalFaces () const |
| Return number of old internalFaces. | |
| virtual const labelList & | oldPatchStarts () const |
| Return old patch starts. | |
| virtual const labelList & | oldPatchSizes () const |
| Return old patch sizes. | |
| 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. | |
This object provides mapping and fill-in information for face data between the two meshes after the topological change. It is constructed from mapPolyMesh.
Definition at line 53 of file faceMapper.H.
|
delete |
No copy construct.
References faceMapper().
Referenced by faceMapper(), and operator=().


|
explicit |
Construct from mapPolyMesh.
Definition at line 225 of file faceMapper.C.
References bitSet::count(), mesh, and bitSet::unset().

|
virtual |
Destructor.
Definition at line 287 of file faceMapper.C.
|
delete |
|
virtual |
|
virtual |
Return size of field before mapping.
Implements morphFieldMapper.
Definition at line 299 of file faceMapper.C.
|
virtual |
Return number of internal faces before mapping.
Definition at line 305 of file faceMapper.C.
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 159 of file faceMapper.H.
Referenced by addressing(), directAddressing(), and weights().

|
inlinevirtual |
Any unmapped values?
I.e. do all size() elements get value
Implements FieldMapper.
Definition at line 164 of file faceMapper.H.
References insertedObjects().

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

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

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

|
virtual |
Return flux flip map.
Definition at line 390 of file faceMapper.C.
|
virtual |
Return number of old internalFaces.
Definition at line 396 of file faceMapper.C.
|
virtual |
Return old patch starts.
Definition at line 402 of file faceMapper.C.
|
virtual |
Return old patch sizes.
Definition at line 408 of file faceMapper.C.
|
inlinevirtual |
Are there any inserted faces.
Implements morphFieldMapper.
Definition at line 207 of file faceMapper.H.
Referenced by directAddressing(), and hasUnmapped().

|
virtual |
Return list of inserted faces.
Implements morphFieldMapper.
Definition at line 373 of file faceMapper.C.
References List< label >::null().
