Determines a mapping between patch face centres and mesh cell or face centres and processors they're on. More...
#include <meshTools/directMappedWallPolyPatch.H>
Determines a mapping between patch face centres and mesh cell or face centres and processors they're on.
Definition at line 58 of file directMappedWallPolyPatch.H.
Inheritance diagram for directMappedWallPolyPatch:
Collaboration diagram for directMappedWallPolyPatch:Public Member Functions | |
| TypeName ("directMappedWall") | |
| Runtime type information. | |
| directMappedWallPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm) | |
| Construct from components. | |
| directMappedWallPolyPatch (const word &name, const label size, const label start, const label index, const word &sampleRegion, const directMappedPatchBase::sampleMode mode, const word &samplePatch, const vectorField &offset, const polyBoundaryMesh &bm) | |
| Construct from components. | |
| directMappedWallPolyPatch (const word &name, const label size, const label start, const label index, const word &sampleRegion, const directMappedPatchBase::sampleMode mode, const word &samplePatch, const vector &offset, const polyBoundaryMesh &bm) | |
| Construct from components. Uniform offset. | |
| directMappedWallPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) | |
| Construct from dictionary. | |
| directMappedWallPolyPatch (const directMappedWallPolyPatch &, const polyBoundaryMesh &) | |
| Construct as copy, resetting the boundary mesh. | |
| directMappedWallPolyPatch (const directMappedWallPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
| Construct given the original patch and resetting the. | |
| virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm) const |
| Construct and return a clone, resetting the boundary mesh. | |
| virtual autoPtr< polyPatch > | clone (const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const |
| Construct and return a clone, resetting the face list. | |
| virtual | ~directMappedWallPolyPatch () |
| Destructor. | |
| virtual void | write (Ostream &) const |
| Write the polyPatch data as a dictionary. | |
Public Member Functions inherited from wallPolyPatch | |
| TypeName ("wall") | |
| Runtime type information. | |
| wallPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm) | |
| Construct from components. | |
| wallPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) | |
| Construct from dictionary. | |
| wallPolyPatch (const wallPolyPatch &, const polyBoundaryMesh &) | |
| Construct as copy, resetting the boundary mesh. | |
| wallPolyPatch (const wallPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
| Construct given the original patch and resetting the. | |
Public Member Functions inherited from polyPatch | |
| TypeName ("patch") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, polyPatch, word,(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm),(name, size, start, index, bm)) | |
| declareRunTimeSelectionTable (autoPtr, polyPatch, dictionary,(const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm),(name, dict, index, bm)) | |
| polyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm) | |
| Construct from components. | |
| polyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm) | |
| Construct from dictionary. | |
| polyPatch (const polyPatch &, const polyBoundaryMesh &) | |
| Construct as copy, resetting the boundary mesh. | |
| polyPatch (const polyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) | |
| Construct given the original patch and resetting the. | |
| polyPatch (const polyPatch &) | |
| Construct as copy. | |
| virtual | ~polyPatch () |
| label | start () const |
| Return start label of this patch in the polyMesh face list. | |
| const polyBoundaryMesh & | boundaryMesh () const |
| Return boundaryMesh reference. | |
| virtual bool | coupled () const |
| Return true if this patch field is coupled. | |
| template<class T > | |
| const List< T >::subList | patchSlice (const List< T > &l) const |
| Slice list to patch. | |
| template<class T > | |
| const Field< T >::subField | patchSlice (const Field< T > &l) const |
| Slice Field to patch. | |
| const vectorField::subField | faceCentres () const |
| Return face centres. | |
| const vectorField::subField | faceAreas () const |
| Return face normals. | |
| tmp< vectorField > | faceCellCentres () const |
| Return face neighbour cell centres. | |
| const unallocLabelList & | faceCells () const |
| Return face-cell addressing. | |
| const labelList & | meshEdges () const |
| Return global edge index for local edges. | |
| void | clearAddressing () |
| Clear addressing. | |
| label | whichFace (const label l) const |
| Return label of face in patch from global face label. | |
| virtual void | initOrder (const primitivePatch &) const |
| Initialize ordering for primitivePatch. Does not. | |
| virtual bool | order (const primitivePatch &, labelList &faceMap, labelList &rotation) const |
| Return new ordering for primitivePatch. | |
| void | operator= (const polyPatch &) |
| Assignment. | |
Public Member Functions inherited from patchIdentifier | |
| patchIdentifier (const word &name, const label index, const word &physicalType=word::null) | |
| Construct from components. | |
| patchIdentifier (const word &name, const dictionary &, const label index) | |
| Construct from dictionary. | |
| patchIdentifier (const patchIdentifier &, const label index) | |
| Construct from geometric patch, resetting the index. | |
| virtual | ~patchIdentifier () |
| const word & | name () const |
| Return name. | |
| word & | name () |
| Return name for modification. | |
| const word & | physicalType () const |
| Return the optional physical type of the patch. | |
| word & | physicalType () |
| Return the optional physical type of the patch for modification. | |
| label | index () const |
| Return the index of this patch in the boundaryMesh. | |
| label & | index () |
| Return the index of this patch in the boundaryMesh for modification. | |
Public Member Functions inherited from PrimitivePatch< Face, FaceList, PointField, PointType > | |
| PrimitivePatch (const FaceList< Face > &faces, const Field< PointType > &points) | |
| Construct from components. | |
| PrimitivePatch (FaceList< Face > &faces, Field< PointType > &points, const bool reUse) | |
| Construct from components, reuse storage. | |
| PrimitivePatch (const PrimitivePatch< Face, FaceList, PointField, PointType > &) | |
| Construct as copy. | |
| virtual | ~PrimitivePatch () |
| void | clearOut () |
| void | clearGeom () |
| void | clearTopology () |
| void | clearPatchMeshAddr () |
| const Field< PointType > & | points () const |
| Return reference to global points. | |
| label | nPoints () const |
| Return number of points supporting patch faces. | |
| label | nEdges () const |
| Return number of edges in patch. | |
| const edgeList & | edges () const |
| Return list of edges, address into LOCAL point list. | |
| label | nInternalEdges () const |
| Number of internal edges. | |
| bool | isInternalEdge (const label edgeI) const |
| Is internal edge? | |
| const labelList & | boundaryPoints () const |
| Return list of boundary points,. | |
| const labelListList & | faceFaces () const |
| Return face-face addressing. | |
| const labelListList & | edgeFaces () const |
| Return edge-face addressing. | |
| const labelListList & | faceEdges () const |
| Return face-edge addressing. | |
| const labelListList & | pointEdges () const |
| Return point-edge addressing. | |
| const labelListList & | pointFaces () const |
| Return point-face addressing. | |
| const List< Face > & | localFaces () const |
| Return patch faces addressing into local point list. | |
| const labelList & | meshPoints () const |
| Return labelList of mesh points in patch. They are constructed. | |
| const Map< label > & | meshPointMap () const |
| Mesh point map. Given the global point index find its. | |
| const Field< PointType > & | localPoints () const |
| Return pointField of points in patch. | |
| const labelList & | localPointOrder () const |
| Return orders the local points for most efficient search. | |
| label | whichPoint (const label gp) const |
| Given a global point index, return the local point index. | |
| label | whichEdge (const edge &) const |
| Given an edge in local point labels, return its. | |
| labelList | meshEdges (const edgeList &allEdges, const labelListList &cellEdges, const labelList &faceCells) const |
| Return labels of patch edges in the global edge list using. | |
| labelList | meshEdges (const edgeList &allEdges, const labelListList &pointEdges) const |
| Return labels of patch edges in the global edge list using. | |
| const Field< PointType > & | faceNormals () const |
| Return face normals for patch. | |
| const Field< PointType > & | pointNormals () const |
| Return point normals for patch. | |
| template<class ToPatch > | |
| List< objectHit > | projectPoints (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
| Project vertices of patch onto another patch. | |
| template<class ToPatch > | |
| List< objectHit > | projectFaceCentres (const ToPatch &targetPatch, const Field< PointType > &projectionDirection, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction=intersection::VECTOR) const |
| Project vertices of patch onto another patch. | |
| const labelListList & | edgeLoops () const |
| Return list of closed loops of boundary vertices. | |
| surfaceTopo | surfaceType () const |
| Calculate surface type formed by patch. | |
| bool | checkTopology (const bool report=false, labelHashSet *setPtr=NULL) const |
| Check surface formed by patch for manifoldness (see above). | |
| bool | checkPointManifold (const bool report=false, labelHashSet *setPtr=NULL) const |
| Checks primitivePatch for faces sharing point but not edge. | |
| virtual void | movePoints (const Field< PointType > &) |
| Correct patch after moving points. | |
| void | operator= (const PrimitivePatch< Face, FaceList, PointField, PointType > &) |
| Assignment. | |
Public Member Functions inherited from directMappedPatchBase | |
| TypeName ("directMappedPatchBase") | |
| Runtime type information. | |
| directMappedPatchBase (const polyPatch &) | |
| Construct from patch. | |
| directMappedPatchBase (const polyPatch &pp, const word &sampleRegion, const sampleMode sampleMode, const word &samplePatch, const vectorField &offset) | |
| Construct from components. | |
| directMappedPatchBase (const polyPatch &pp, const word &sampleRegion, const sampleMode sampleMode, const word &samplePatch, const vector &offset) | |
| Construct from components. | |
| directMappedPatchBase (const polyPatch &, const dictionary &) | |
| Construct from dictionary. | |
| directMappedPatchBase (const polyPatch &, const directMappedPatchBase &) | |
| Construct as copy, resetting patch. | |
| virtual | ~directMappedPatchBase () |
| Destructor. | |
| void | clearOut () |
| const sampleMode & | mode () const |
| What to sample. | |
| const word & | sampleRegion () const |
| Region to sample. | |
| const word & | samplePatch () const |
| Patch (only if NEARESTPATCHFACE) | |
| const vectorField & | offsets () const |
| Offset vector (from patch faces to destination mesh objects) | |
| const mapDistribute & | map () const |
| Return reference to the parallel distribution map. | |
| bool | sameRegion () const |
| Cached sampleRegion != mesh.name() | |
| const polyMesh & | sampleMesh () const |
| Get the region mesh. | |
| const polyPatch & | samplePolyPatch () const |
| Get the patch on the region. | |
Protected Member Functions | |
| virtual void | initGeometry () |
| Initialise the calculation of the patch geometry. | |
| virtual void | calcGeometry () |
| Calculate the patch geometry. | |
| virtual void | initMovePoints (const pointField &) |
| Initialise the patches for moving points. | |
| virtual void | movePoints (const pointField &) |
| Correct patches after moving points. | |
| virtual void | initUpdateMesh () |
| Initialise the update of the patch topology. | |
| virtual void | updateMesh () |
| Update of the patch topology. | |
Additional Inherited Members | |
Public Types inherited from directMappedPatchBase | |
| enum | sampleMode { NEARESTCELL, NEARESTPATCHFACE, NEARESTFACE } |
| Mesh items to sample. More... | |
| typedef Tuple2< pointIndexHit, Tuple2< scalar, label > > | nearInfo |
| Helper class for finding nearest. | |
| directMappedWallPolyPatch | ( | const word & | name, |
| const label | size, | ||
| const label | start, | ||
| const label | index, | ||
| const polyBoundaryMesh & | bm | ||
| ) |
Construct from components.
Definition at line 51 of file directMappedWallPolyPatch.C.
Referenced by directMappedWallPolyPatch::clone().
| directMappedWallPolyPatch | ( | const word & | name, |
| const label | size, | ||
| const label | start, | ||
| const label | index, | ||
| const word & | sampleRegion, | ||
| const directMappedPatchBase::sampleMode | mode, | ||
| const word & | samplePatch, | ||
| const vectorField & | offset, | ||
| const polyBoundaryMesh & | bm | ||
| ) |
Construct from components.
Definition at line 65 of file directMappedWallPolyPatch.C.
| directMappedWallPolyPatch | ( | const word & | name, |
| const label | size, | ||
| const label | start, | ||
| const label | index, | ||
| const word & | sampleRegion, | ||
| const directMappedPatchBase::sampleMode | mode, | ||
| const word & | samplePatch, | ||
| const vector & | offset, | ||
| const polyBoundaryMesh & | bm | ||
| ) |
Construct from components. Uniform offset.
Definition at line 90 of file directMappedWallPolyPatch.C.
| directMappedWallPolyPatch | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const polyBoundaryMesh & | bm | ||
| ) |
Construct from dictionary.
Definition at line 115 of file directMappedWallPolyPatch.C.
| directMappedWallPolyPatch | ( | const directMappedWallPolyPatch & | pp, |
| const polyBoundaryMesh & | bm | ||
| ) |
Construct as copy, resetting the boundary mesh.
Definition at line 128 of file directMappedWallPolyPatch.C.
| directMappedWallPolyPatch | ( | const directMappedWallPolyPatch & | pp, |
| const polyBoundaryMesh & | bm, | ||
| const label | index, | ||
| const label | newSize, | ||
| const label | newStart | ||
| ) |
Construct given the original patch and resetting the.
face list and boundary mesh information
Definition at line 139 of file directMappedWallPolyPatch.C.
|
virtual |
Destructor.
Definition at line 154 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::clearOut().
|
protectedvirtual |
Initialise the calculation of the patch geometry.
Reimplemented from polyPatch.
Definition at line 163 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::clearOut(), and polyPatch::initGeometry().
|
protectedvirtual |
Calculate the patch geometry.
Reimplemented from polyPatch.
Definition at line 170 of file directMappedWallPolyPatch.C.
References polyPatch::calcGeometry(), and directMappedPatchBase::clearOut().
|
protectedvirtual |
Initialise the patches for moving points.
Reimplemented from polyPatch.
Definition at line 177 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::clearOut(), and polyPatch::initMovePoints().
|
protectedvirtual |
Correct patches after moving points.
Reimplemented from polyPatch.
Definition at line 184 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::clearOut(), and polyPatch::movePoints().
|
protectedvirtual |
Initialise the update of the patch topology.
Reimplemented from polyPatch.
Definition at line 191 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::clearOut(), and polyPatch::initUpdateMesh().
|
protectedvirtual |
Update of the patch topology.
Reimplemented from polyPatch.
Definition at line 198 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::clearOut(), and polyPatch::updateMesh().
| TypeName | ( | "directMappedWall" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone, resetting the boundary mesh.
Reimplemented from wallPolyPatch.
Definition at line 159 of file directMappedWallPolyPatch.H.
References directMappedWallPolyPatch::directMappedWallPolyPatch().
|
inlinevirtual |
Construct and return a clone, resetting the face list.
and boundary mesh
Reimplemented from wallPolyPatch.
Definition at line 167 of file directMappedWallPolyPatch.H.
References directMappedWallPolyPatch::directMappedWallPolyPatch().
|
virtual |
Write the polyPatch data as a dictionary.
Reimplemented from directMappedPatchBase.
Definition at line 205 of file directMappedWallPolyPatch.C.
References directMappedPatchBase::write(), and polyPatch::write().