Public Member Functions | Private Member Functions | Private Attributes
patchToPoly2DMesh Class Reference

Convert a primitivePatch into a 2D polyMesh. More...

Collaboration diagram for patchToPoly2DMesh:
Collaboration graph
[legend]

Public Member Functions

 patchToPoly2DMesh (const MeshedSurface< face > &patch, const wordList &patchNames, const labelList &patchSizes, const EdgeMap< label > &mapEdgesRegion)
 Construct from a primitivePatch. More...
 
 ~patchToPoly2DMesh ()
 Destructor. More...
 
pointFieldpoints ()
 
faceListfaces ()
 
labelListowner ()
 
labelListneighbour ()
 
const wordListpatchNames () const
 
const labelListpatchSizes () const
 
const labelListpatchStarts () const
 
void createMesh ()
 Create the mesh. More...
 

Private Member Functions

void flipFaceOrder ()
 
void createNeighbours ()
 
labelList internalFaceOrder ()
 
void addPatchFacesToFaces ()
 
void addPatchFacesToOwner ()
 
void createPolyMeshComponents ()
 
 patchToPoly2DMesh (const patchToPoly2DMesh &)
 Disallow default bitwise copy construct. More...
 
void operator= (const patchToPoly2DMesh &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const MeshedSurface< face > & patch_
 
const wordListpatchNames_
 
const labelListpatchSizes_
 
labelList patchStarts_
 
const EdgeMap< label > & mapEdgesRegion_
 
pointField points_
 
faceList faces_
 
labelList owner_
 
labelList neighbour_
 

Detailed Description

Convert a primitivePatch into a 2D polyMesh.

Source files

Definition at line 49 of file patchToPoly2DMesh.H.

Constructor & Destructor Documentation

◆ patchToPoly2DMesh() [1/2]

patchToPoly2DMesh ( const patchToPoly2DMesh )
private

Disallow default bitwise copy construct.

◆ patchToPoly2DMesh() [2/2]

patchToPoly2DMesh ( const MeshedSurface< face > &  patch,
const wordList patchNames,
const labelList patchSizes,
const EdgeMap< label > &  mapEdgesRegion 
)

Construct from a primitivePatch.

◆ ~patchToPoly2DMesh()

Destructor.

Member Function Documentation

◆ flipFaceOrder()

void flipFaceOrder ( )
private

◆ createNeighbours()

void createNeighbours ( )
private

◆ internalFaceOrder()

labelList internalFaceOrder ( )
private

◆ addPatchFacesToFaces()

void addPatchFacesToFaces ( )
private

◆ addPatchFacesToOwner()

void addPatchFacesToOwner ( )
private

◆ createPolyMeshComponents()

void createPolyMeshComponents ( )
private

◆ operator=()

void operator= ( const patchToPoly2DMesh )
private

Disallow default bitwise assignment.

◆ points()

pointField& points ( )
inline

Definition at line 116 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::points_.

◆ faces()

faceList& faces ( )
inline

Definition at line 121 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::faces_.

◆ owner()

labelList& owner ( )
inline

Definition at line 126 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::owner_.

◆ neighbour()

labelList& neighbour ( )
inline

Definition at line 131 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::neighbour_.

◆ patchNames()

const wordList& patchNames ( ) const
inline

Definition at line 136 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::patchNames_.

◆ patchSizes()

const labelList& patchSizes ( ) const
inline

Definition at line 141 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::patchSizes_.

◆ patchStarts()

const labelList& patchStarts ( ) const
inline

Definition at line 146 of file patchToPoly2DMesh.H.

References patchToPoly2DMesh::patchStarts_.

◆ createMesh()

void createMesh ( )

Create the mesh.

Field Documentation

◆ patch_

const MeshedSurface<face>& patch_
private

Definition at line 54 of file patchToPoly2DMesh.H.

◆ patchNames_

const wordList& patchNames_
private

Definition at line 56 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::patchNames().

◆ patchSizes_

const labelList& patchSizes_
private

Definition at line 58 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::patchSizes().

◆ patchStarts_

labelList patchStarts_
private

Definition at line 60 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::patchStarts().

◆ mapEdgesRegion_

const EdgeMap<label>& mapEdgesRegion_
private

Definition at line 62 of file patchToPoly2DMesh.H.

◆ points_

pointField points_
private

Definition at line 64 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::points().

◆ faces_

faceList faces_
private

Definition at line 66 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::faces().

◆ owner_

labelList owner_
private

Definition at line 68 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::owner().

◆ neighbour_

labelList neighbour_
private

Definition at line 70 of file patchToPoly2DMesh.H.

Referenced by patchToPoly2DMesh::neighbour().


The documentation for this class was generated from the following file: