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.
Inheritance diagram for faceMapper:
Collaboration diagram for faceMapper: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. | |
Public Member Functions inherited from morphFieldMapper | |
| morphFieldMapper () | |
| Null constructor. | |
| virtual | ~morphFieldMapper () |
Public Member Functions inherited from FieldMapper | |
| FieldMapper () | |
| Null constructor. | |
| virtual | ~FieldMapper () |
| template<class Type > | |
| tmp< Field< Type > > | operator() (const Field< Type > &f) const |
| 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().
|
virtual |
Definition at line 279 of file faceMapper.C.
|
virtual |
|
virtual |
Return size of field before mapping.
Implements morphFieldMapper.
Definition at line 293 of file faceMapper.C.
|
virtual |
Return number of internal faces before mapping.
Definition at line 299 of file faceMapper.C.
Referenced by fvSurfaceMapper::sizeBeforeMapping().
|
inlinevirtual |
Is the mapping direct.
Implements FieldMapper.
Definition at line 133 of file faceMapper.H.
Referenced by fvSurfaceMapper::direct(), and fvPatchMapper::direct().
|
virtual |
Return direct addressing.
Reimplemented from FieldMapper.
Definition at line 305 of file faceMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return interpolated addressing.
Reimplemented from FieldMapper.
Definition at line 333 of file faceMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return interpolaion weights.
Reimplemented from FieldMapper.
Definition at line 353 of file faceMapper.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
|
virtual |
Return flux flip map.
Definition at line 392 of file faceMapper.C.
Referenced by fvSurfaceMapper::flipFaceFlux().
|
virtual |
Return number of old internalFaces.
Definition at line 398 of file faceMapper.C.
|
virtual |
Return old patch starts.
Definition at line 404 of file faceMapper.C.
|
virtual |
Return old patch sizes.
Definition at line 410 of file faceMapper.C.
|
inlinevirtual |
Are there any inserted faces.
Implements morphFieldMapper.
Definition at line 160 of file faceMapper.H.
Referenced by fvSurfaceMapper::insertedObjects().
|
virtual |
Return list of inserted faces.
Implements morphFieldMapper.
Definition at line 373 of file faceMapper.C.