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 dictionary & | metaData () const |
return a constant reference to metaDict More... | |
dictionary & | metaData () |
return a reference to metaDict More... | |
void | read () |
void | write () const |
![]() | |
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 cellListPMG & | cells () const |
access to cells More... | |
const polyMeshGenAddressing & | addressingData () 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 |
![]() | |
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 faceListPMG & | faces () const |
access to faces More... | |
label | nInternalFaces () const |
return number of internal faces More... | |
const labelList & | owner () const |
owner and neighbour cells for faces More... | |
const labelList & | neighbour () 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 |
![]() | |
polyMeshGenPoints (const Time &) | |
Null constructor. More... | |
polyMeshGenPoints (const Time &, const pointField &points) | |
Construct from components without the boundary. More... | |
~polyMeshGenPoints () | |
const Time & | returnTime () const |
access to Time More... | |
const pointFieldPMG & | points () const |
access to points More... | |
pointFieldPMG & | points () |
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 | |
![]() | |
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 &) | |
![]() | |
void | clearOut () const |
clear all pointer data More... | |
void | operator= (const polyMeshGenFaces &) |
polyMeshGenFaces (const polyMeshGenFaces &) | |
![]() | |
void | operator= (const polyMeshGenPoints &) |
polyMeshGenPoints (const polyMeshGenPoints &) | |
![]() | |
cellListPMG | cells_ |
list of cells More... | |
std::map< label, meshSubset > | cellSubsets_ |
cell subsets More... | |
polyMeshGenAddressing * | addressingDataPtr_ |
primitive mesh which calculates addressing More... | |
![]() | |
faceListPMG | faces_ |
list of faces More... | |
PtrList< processorBoundaryPatch > | procBoundaries_ |
PtrList< boundaryPatch > | boundaries_ |
boundary data More... | |
std::map< label, meshSubset > | faceSubsets_ |
face subsets More... | |
label | nIntFaces_ |
number of internal faces, owner and neighbour More... | |
labelIOList * | ownerPtr_ |
labelIOList * | neighbourPtr_ |
![]() | |
const Time & | runTime_ |
reference to the Time registry More... | |
pointFieldPMG | points_ |
list of vertices More... | |
std::map< label, meshSubset > | pointSubsets_ |
map of point subsets More... | |
Definition at line 46 of file polyMeshGen.H.
polyMeshGen | ( | const Time & | t | ) |
Null constructor.
Definition at line 37 of file polyMeshGen.C.
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 | ( | 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.
|
inline |
return a constant reference to metaDict
Definition at line 86 of file polyMeshGen.H.
References polyMeshGen::metaDict_.
Referenced by cartesian2DMeshGenerator::cartesian2DMeshGenerator(), cartesianMeshGenerator::cartesianMeshGenerator(), workflowControls::clearCompletedSteps(), workflowControls::completedSteps(), workflowControls::lastCompletedStep(), workflowControls::setStepCompleted(), tetMeshGenerator::tetMeshGenerator(), voronoiMeshGenerator::voronoiMeshGenerator(), and workflowControls::workflowCompleted().
|
inline |
return a reference to metaDict
Definition at line 92 of file polyMeshGen.H.
References polyMeshGen::metaDict_.
void read | ( | ) |
Definition at line 121 of file polyMeshGen.C.
References polyMeshGenCells::read().
Referenced by main(), and workflowControls::runAfterCurrentStep().
void write | ( | ) | const |
remove old mesh before writting
write the mesh
write meta data
Definition at line 126 of file polyMeshGen.C.
References TimePaths::constant(), Foam::isDir(), polyMeshGen::metaDict_, Time::path(), Foam::rm(), Foam::rmDir(), polyMeshGenPoints::runTime_, polyMeshGenCells::write(), IOdictionary::writeData(), and IOobject::writeHeader().
Referenced by boundaryLayerOptimisation::calculateHairEdges(), boundaryLayers::checkTopologyOfBoundaryFaces(), createFundamentalSheetsJFS::createSheetsAtFeatureEdges(), voronoiMeshGenerator::createVoronoiMesh(), decomposeFaces::decomposeMeshFaces(), boundaryLayers::findPatchesToBeTreatedTogether(), voronoiMeshGenerator::generateBoudaryLayers(), main(), voronoiMeshGenerator::mapEdgesAndCorners(), voronoiMeshGenerator::mapMeshToSurface(), surfaceMorpherCells::morphMesh(), extrudeLayer::movePoints(), voronoiMeshGenerator::optimiseFinalMesh(), voronoiMeshGenerator::optimiseMeshSurface(), voronoiMeshGenerator::renumberMesh(), voronoiMeshGenerator::replaceBoundaries(), workflowControls::stopAfterCurrentStep(), voronoiMeshGenerator::surfacePreparation(), cartesian2DMeshGenerator::writeMesh(), tetMeshGenerator::writeMesh(), cartesianMeshGenerator::writeMesh(), and voronoiMeshGenerator::writeMesh().
|
private |
meta data about the meshing process
Definition at line 51 of file polyMeshGen.H.
Referenced by polyMeshGen::metaData(), and polyMeshGen::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.