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 <OpenFOAM/faceMapper.H>
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 56 of file faceMapper.H.
Public Member Functions | |
faceMapper (const mapPolyMesh &mpm) | |
Construct from mapPolyMesh.
| |
virtual | ~faceMapper () |
virtual label | size () const |
Return 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 const unallocLabelList & | 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.
|
faceMapper | ( | const mapPolyMesh & | mpm ) |
Construct from mapPolyMesh.
Definition at line 208 of file faceMapper.C.
References UList< T >::empty(), mapPolyMesh::faceMap(), mapPolyMesh::facesFromEdgesMap(), mapPolyMesh::facesFromFacesMap(), mapPolyMesh::facesFromPointsMap(), forAll, Foam::min(), and primitiveMesh::nFaces().
~faceMapper | ( | ) | [virtual]
|
Definition at line 279 of file faceMapper.C.
Foam::label size | ( | ) | const [virtual]
|
Foam::label sizeBeforeMapping | ( | ) | const [virtual]
|
Return size of field before mapping.
Implements morphFieldMapper.
Definition at line 293 of file faceMapper.C.
Foam::label internalSizeBeforeMapping | ( | ) | const [virtual]
|
Return number of internal faces before mapping.
Definition at line 299 of file faceMapper.C.
Referenced by fvSurfaceMapper::sizeBeforeMapping().
virtual bool direct | ( | ) | const [inline, virtual]
|
Is the mapping direct.
Implements FieldMapper.
Definition at line 133 of file faceMapper.H.
Referenced by fvSurfaceMapper::direct(), and fvPatchMapper::direct().
const Foam::unallocLabelList & directAddressing | ( | ) | const [virtual]
|
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 305 of file faceMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
const Foam::labelListList & addressing | ( | ) | const [virtual]
|
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 333 of file faceMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
const Foam::scalarListList & weights | ( | ) | const [virtual]
|
Return interpolaion weights.
Reimplemented from FieldMapper.
Definition at line 353 of file faceMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
const Foam::labelHashSet & flipFaceFlux | ( | ) | const [virtual]
|
Return flux flip map.
Definition at line 392 of file faceMapper.C.
Referenced by fvSurfaceMapper::flipFaceFlux().
Foam::label nOldInternalFaces | ( | ) | const [virtual]
|
Return number of old internalFaces.
Definition at line 398 of file faceMapper.C.
const Foam::labelList & oldPatchStarts | ( | ) | const [virtual]
|
Return old patch starts.
Definition at line 404 of file faceMapper.C.
const Foam::labelList & oldPatchSizes | ( | ) | const [virtual]
|
Return old patch sizes.
Definition at line 410 of file faceMapper.C.
virtual bool insertedObjects | ( | ) | const [inline, virtual]
|
Are there any inserted faces.
Implements morphFieldMapper.
Definition at line 160 of file faceMapper.H.
Referenced by fvSurfaceMapper::insertedObjects().
const Foam::labelList & insertedObjectLabels | ( | ) | const [virtual]
|
Return list of inserted faces.
Implements morphFieldMapper.
Definition at line 373 of file faceMapper.C.