Public Member Functions | Private Attributes
polyMeshGen Class Reference
Inheritance diagram for polyMeshGen:
Inheritance graph
[legend]
Collaboration diagram for polyMeshGen:
Collaboration graph
[legend]

Public Member Functions

 polyMeshGen (const Time &t)
 Null constructor. More...
 
 polyMeshGen (const Time &t, const pointField &points, const faceList &faces, const cellList &cells)
 Construct from components without the boundary. More...
 
 polyMeshGen (const Time &t, const pointField &points, const faceList &faces, const cellList &cells, const wordList &patchNames, const labelList &patchStart, const labelList &nFacesInPatch)
 Construct from components with the boundary. More...
 
 ~polyMeshGen ()
 
const dictionarymetaData () const
 return a constant reference to metaDict More...
 
dictionarymetaData ()
 return a reference to metaDict More...
 
void read ()
 
void write () const
 
- Public Member Functions inherited from polyMeshGenCells
 polyMeshGenCells (const Time &)
 Null constructor. More...
 
 polyMeshGenCells (const Time &, const pointField &points, const faceList &faces, const cellList &cells)
 Construct from components without the boundary. More...
 
 polyMeshGenCells (const Time &, const pointField &points, const faceList &faces, const cellList &cells, const wordList &patchNames, const labelList &patchStart, const labelList &nFacesInPatch)
 Construct from components with the boundary. More...
 
 ~polyMeshGenCells ()
 
const cellListPMGcells () const
 access to cells More...
 
const polyMeshGenAddressingaddressingData () const
 addressing which may be needed More...
 
void clearAddressingData () const
 clear addressing data More...
 
label addCellSubset (const word &)
 
void removeCellSubset (const label)
 
word cellSubsetName (const label) const
 
label cellSubsetIndex (const word &) const
 
void addCellToSubset (const label, const label)
 
void removeCellFromSubset (const label, const label)
 
void cellInSubsets (const label, DynList< label > &) const
 
void cellSubsetIndices (DynList< label > &) const
 
template<class ListType >
void cellsInSubset (const label, ListType &) const
 
template<class ListType >
void updateCellSubsets (const ListType &)
 
void updateCellSubsets (const VRWGraph &)
 
void read ()
 
void write () const
 
- Public Member Functions inherited from polyMeshGenFaces
 polyMeshGenFaces (const Time &)
 Null constructor. More...
 
 polyMeshGenFaces (const Time &, const pointField &points, const faceList &faces)
 Construct from components without the boundary. More...
 
 polyMeshGenFaces (const Time &, const pointField &points, const faceList &faces, const wordList &patchNames, const labelList &patchStart, const labelList &nFacesInPatch)
 Construct from components with the boundary. More...
 
virtual ~polyMeshGenFaces ()
 
const faceListPMGfaces () const
 access to faces More...
 
label nInternalFaces () const
 return number of internal faces More...
 
const labelListowner () const
 owner and neighbour cells for faces More...
 
const labelListneighbour () const
 
const PtrList< processorBoundaryPatch > & procBoundaries () const
 inter-processor boundaries More...
 
label faceIsInProcPatch (const label faceLabel) const
 return processor patch label for the given face label More...
 
const PtrList< boundaryPatch > & boundaries () const
 ordinary boundaries More...
 
label faceIsInPatch (const label faceLabel) const
 return patch label for the given face label More...
 
wordList patchNames () const
 return list of patches in the boundary More...
 
label getPatchID (const word &patchName) const
 return the index of a patch given its name More...
 
word getPatchName (const label patchID) const
 return the name of a patch given its ID More...
 
labelList findPatches (const word &patchName) const
 return a list of patch indices corresponding to the given More...
 
label addFaceSubset (const word &)
 
void removeFaceSubset (const label)
 
word faceSubsetName (const label) const
 
label faceSubsetIndex (const word &) const
 
void addFaceToSubset (const label, const label)
 
void removeFaceFromSubset (const label, const label)
 
void faceInSubsets (const label, DynList< label > &) const
 
void faceSubsetIndices (DynList< label > &) const
 
template<class ListType >
void facesInSubset (const label, ListType &) const
 
template<class ListType >
void updateFaceSubsets (const ListType &)
 
void updateFaceSubsets (const VRWGraph &)
 
void read ()
 
void write () const
 
- Public Member Functions inherited from polyMeshGenPoints
 polyMeshGenPoints (const Time &)
 Null constructor. More...
 
 polyMeshGenPoints (const Time &, const pointField &points)
 Construct from components without the boundary. More...
 
 ~polyMeshGenPoints ()
 
const TimereturnTime () const
 access to Time More...
 
const pointFieldPMGpoints () const
 access to points More...
 
pointFieldPMGpoints ()
 non-const access to points More...
 
void appendVertex (const point &p)
 append a vertex to the end of the list More...
 
label addPointSubset (const word &)
 point subsets More...
 
void removePointSubset (const label)
 
word pointSubsetName (const label) const
 
label pointSubsetIndex (const word &) const
 
void addPointToSubset (const label, const label)
 
void removePointFromSubset (const label, const label)
 
void pointInSubsets (const label, DynList< label > &) const
 
void pointSubsetIndices (DynList< label > &) const
 
template<class ListType >
void pointsInSubset (const label, ListType &) const
 
template<class ListType >
void updatePointSubsets (const ListType &)
 
void read ()
 
void write () const
 

Private Attributes

IOdictionary metaDict_
 meta data about the meshing process More...
 

Additional Inherited Members

- Protected Member Functions inherited from polyMeshGenCells
void calculateOwnersAndNeighbours () const
 calculate owner and neighbour More...
 
void calculateAddressingData () const
 calculate mesh addressing More...
 
void clearOut () const
 clear all pointer data More...
 
void operator= (const polyMeshGenCells &)
 
 polyMeshGenCells (const polyMeshGenCells &)
 
- Protected Member Functions inherited from polyMeshGenFaces
void clearOut () const
 clear all pointer data More...
 
void operator= (const polyMeshGenFaces &)
 
 polyMeshGenFaces (const polyMeshGenFaces &)
 
- Protected Member Functions inherited from polyMeshGenPoints
void operator= (const polyMeshGenPoints &)
 
 polyMeshGenPoints (const polyMeshGenPoints &)
 
- Protected Attributes inherited from polyMeshGenCells
cellListPMG cells_
 list of cells More...
 
std::map< label, meshSubsetcellSubsets_
 cell subsets More...
 
polyMeshGenAddressingaddressingDataPtr_
 primitive mesh which calculates addressing More...
 
- Protected Attributes inherited from polyMeshGenFaces
faceListPMG faces_
 list of faces More...
 
PtrList< processorBoundaryPatchprocBoundaries_
 
PtrList< boundaryPatchboundaries_
 boundary data More...
 
std::map< label, meshSubsetfaceSubsets_
 face subsets More...
 
label nIntFaces_
 number of internal faces, owner and neighbour More...
 
labelIOListownerPtr_
 
labelIOListneighbourPtr_
 
- Protected Attributes inherited from polyMeshGenPoints
const TimerunTime_
 reference to the Time registry More...
 
pointFieldPMG points_
 list of vertices More...
 
std::map< label, meshSubsetpointSubsets_
 map of point subsets More...
 

Detailed Description

Definition at line 46 of file polyMeshGen.H.

Constructor & Destructor Documentation

◆ polyMeshGen() [1/3]

polyMeshGen ( const Time t)

Null constructor.

Definition at line 37 of file polyMeshGen.C.

◆ polyMeshGen() [2/3]

polyMeshGen ( const Time t,
const pointField points,
const faceList faces,
const cellList cells 
)

Construct from components without the boundary.

Definition at line 56 of file polyMeshGen.C.

◆ polyMeshGen() [3/3]

polyMeshGen ( const Time t,
const pointField points,
const faceList faces,
const cellList cells,
const wordList patchNames,
const labelList patchStart,
const labelList nFacesInPatch 
)

Construct from components with the boundary.

Definition at line 80 of file polyMeshGen.C.

◆ ~polyMeshGen()

Definition at line 116 of file polyMeshGen.C.

Member Function Documentation

◆ metaData() [1/2]

const dictionary& metaData ( ) const
inline

◆ metaData() [2/2]

dictionary& metaData ( )
inline

return a reference to metaDict

Definition at line 92 of file polyMeshGen.H.

References polyMeshGen::metaDict_.

◆ read()

void read ( )

Definition at line 121 of file polyMeshGen.C.

References polyMeshGenCells::read().

Referenced by main(), and workflowControls::runAfterCurrentStep().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

void write ( ) const

Field Documentation

◆ metaDict_

IOdictionary metaDict_
private

meta data about the meshing process

Definition at line 51 of file polyMeshGen.H.

Referenced by polyMeshGen::metaData(), and polyMeshGen::write().


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