Public Member Functions | Protected Member Functions | Protected Attributes | Friends
polyMeshGenPoints Class Reference
Inheritance diagram for polyMeshGenPoints:
Inheritance graph
[legend]
Collaboration diagram for polyMeshGenPoints:
Collaboration graph
[legend]

Public Member Functions

 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
 

Protected Member Functions

void operator= (const polyMeshGenPoints &)
 
 polyMeshGenPoints (const polyMeshGenPoints &)
 

Protected Attributes

const TimerunTime_
 reference to the Time registry More...
 
pointFieldPMG points_
 list of vertices More...
 
std::map< label, meshSubsetpointSubsets_
 map of point subsets More...
 

Friends

class polyMeshGenModifier
 

Detailed Description

Definition at line 55 of file polyMeshGenPoints.H.

Constructor & Destructor Documentation

◆ polyMeshGenPoints() [1/3]

polyMeshGenPoints ( const polyMeshGenPoints )
protected

◆ polyMeshGenPoints() [2/3]

polyMeshGenPoints ( const Time runTime)

Null constructor.

Definition at line 39 of file polyMeshGenPoints.C.

◆ polyMeshGenPoints() [3/3]

polyMeshGenPoints ( const Time runTime,
const pointField points 
)

Construct from components without the boundary.

Construct from time and points.

Definition at line 59 of file polyMeshGenPoints.C.

◆ ~polyMeshGenPoints()

Definition at line 82 of file polyMeshGenPoints.C.

Member Function Documentation

◆ operator=()

void operator= ( const polyMeshGenPoints )
protected

◆ returnTime()

const Time & returnTime ( ) const
inline

◆ points() [1/2]

pointFieldPMG & points ( ) const
inline

access to points

Definition at line 44 of file polyMeshGenPointsI.H.

References polyMeshGenPoints::points_.

Referenced by polyMeshGenModifier::addBufferCells(), boundaryLayers::addWrapperLayer(), refineBoundaryLayers::analyseLayers(), polyMeshGenAddressing::calcFaceCentresAndAreas(), polyMeshGenAddressing::calcGlobalPointLabels(), polyMeshGenAddressing::calcPointCells(), polyMeshGenAddressing::calcPointEdges(), polyMeshGenAddressing::calcPointFaces(), meshSurfaceEngine::calculateBoundaryNodes(), meshSurfaceEngine::calculateFaceCentres(), meshSurfaceEngine::calculateFaceNormals(), polyMeshGenModifier::calculatePointFaces(), meshOptimizer::calculatePointLocations(), edgeExtractor::checkConcaveEdgeCells(), edgeExtractor::checkCorners(), topologicalCleaner::checkNonMappableFaces(), polyMeshGen2DEngine::correctPoints(), meshSurfaceEdgeExtractor::createEdgeVertices(), extrudeLayer::createLayerCells(), tetMeshExtractorOctree::createMesh(), cartesianMeshExtractor::createMesh(), voronoiMeshExtractor::createMesh(), boundaryLayers::createNewVertices(), voronoiMeshExtractor::createPoints(), cartesianMeshExtractor::createPointsAndAddressing(), tetMeshExtractorOctree::createPolyMesh(), cartesianMeshExtractor::createPolyMesh(), decomposeFaces::decomposeMeshFaces(), symmetryPlaneOptimisation::detectSymmetryPlanes(), meshSurfaceEdgeExtractor2D::distributeBoundaryFaces(), edgeExtractor::distributeBoundaryFacesNormalAlignment(), surfaceMorpherCells::findBoundaryVertices(), edgeExtractor::findCornerCandidates(), findCellsIntersectingSurface::findIntersectedCells(), triangulateNonPlanarBaseFaces::findNonPlanarBoundaryFaces(), boundaryLayers::findPatchesToBeTreatedTogether(), polyMeshGen2DEngine::findZMaxPoints(), polyMeshGen2DEngine::findZMinPoints(), refineBoundaryLayers::generateNewCells(), refineBoundaryLayers::generateNewFaces(), refineBoundaryLayers::generateNewVertices(), checkBoundaryFacesSharingTwoEdges::improveTopology(), main(), polyMeshGenGeometryModification::modifyGeometry(), extrudeLayer::movePoints(), boundaryLayerOptimisation::optimiseHairNormalsAtTheBoundary(), boundaryLayerOptimisation::optimiseHairNormalsInside(), boundaryLayerOptimisation::optimiseLayersAtExittingFaces(), meshOptimizer::optimizeBoundaryLayer(), symmetryPlaneOptimisation::optimizeSymmetryPlanes(), correctEdgesBetweenPatches::patchCorrection(), symmetryPlaneOptimisation::pointInPlanes(), meshSurfaceEngine::points(), refineBoundaryLayers::pointsInBndLayer(), polyMeshGen2DEngine::polyMeshGen2DEngine(), edgeExtractor::projectDeterminedFeatureVertices(), polyMeshGenGeometryModification::revertGeometryModification(), edgeExtractor::surfaceWithPatches(), meshOptimizer::untangleMeshFV(), partTetMesh::updateOrigMesh(), and polyMeshGenModifier::zipUpCells().

◆ points() [2/2]

pointFieldPMG& points ( )
inline

non-const access to points

◆ appendVertex()

void appendVertex ( const point p)
inline

append a vertex to the end of the list

Definition at line 54 of file polyMeshGenPointsI.H.

References pointFieldPMG::append(), p, and polyMeshGenPoints::points_.

Here is the call graph for this function:

◆ addPointSubset()

label addPointSubset ( const word subsetName)

◆ removePointSubset()

void removePointSubset ( const label  subsetID)

Definition at line 114 of file polyMeshGenPoints.C.

References polyMeshGenPoints::pointSubsets_.

◆ pointSubsetName()

word pointSubsetName ( const label  subsetID) const

Definition at line 122 of file polyMeshGenPoints.C.

References Foam::endl(), polyMeshGenPoints::pointSubsets_, and Foam::Warning.

Here is the call graph for this function:

◆ pointSubsetIndex()

label pointSubsetIndex ( const word subsetName) const

Definition at line 135 of file polyMeshGenPoints.C.

References polyMeshGenPoints::pointSubsets_.

Referenced by polyMeshGenPoints::addPointSubset(), meshOptimizer::lockPointsInSubset(), and refineBoundaryLayers::pointsInBndLayer().

Here is the caller graph for this function:

◆ addPointToSubset()

void addPointToSubset ( const label  setI,
const label  pointI 
)
inline

◆ removePointFromSubset()

void removePointFromSubset ( const label  setI,
const label  pointI 
)
inline

Definition at line 73 of file polyMeshGenPointsI.H.

◆ pointInSubsets()

void pointInSubsets ( const label  pointI,
DynList< label > &  pointSubsets 
) const
inline

Definition at line 86 of file polyMeshGenPointsI.H.

References DynList< T, staticSize >::append(), and DynList< T, staticSize >::clear().

Here is the call graph for this function:

◆ pointSubsetIndices()

void pointSubsetIndices ( DynList< label > &  indices) const
inline

Definition at line 106 of file polyMeshGenPointsI.H.

References DynList< T, staticSize >::append(), DynList< T, staticSize >::clear(), and polyMeshGenPoints::pointSubsets_.

Here is the call graph for this function:

◆ pointsInSubset()

void pointsInSubset ( const label  setI,
ListType &  pointLabels 
) const
inline

Definition at line 122 of file polyMeshGenPointsI.H.

References List::clear(), and pointLabels().

Referenced by meshOptimizer::lockPointsInSubset().

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

◆ updatePointSubsets()

void updatePointSubsets ( const ListType &  newNodeLabels)
inline

Definition at line 138 of file polyMeshGenPointsI.H.

References polyMeshGenPoints::pointSubsets_.

Referenced by polyMeshGenModifier::removeUnusedVertices().

Here is the caller graph for this function:

◆ read()

void read ( )

read point subsets

Definition at line 147 of file polyMeshGenPoints.C.

References polyMeshGenPoints::addPointSubset(), TimePaths::constant(), forAll, IOobjectList::lookup(), IOobject::MUST_READ, IOobjectList::names(), polyMeshGenPoints::points_, polyMeshGenPoints::pointSubsets_, polyMeshGenPoints::runTime_, and HashTable::toc().

Referenced by polyMeshGenFaces::read().

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

◆ write()

void write ( ) const

write point selections

Definition at line 184 of file polyMeshGenPoints.C.

References IOobject::AUTO_WRITE, TimePaths::constant(), forAll, HashSet< Key, Hash >::insert(), IOobject::NO_READ, polyMeshGenPoints::points_, polyMeshGenPoints::pointSubsets_, polyMeshGenPoints::runTime_, and regIOobject::write().

Referenced by polyMeshGenFaces::write().

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

Friends And Related Function Documentation

◆ polyMeshGenModifier

friend class polyMeshGenModifier
friend

Definition at line 76 of file polyMeshGenPoints.H.

Field Documentation

◆ runTime_

const Time& runTime_
protected

◆ points_

pointFieldPMG points_
protected

◆ pointSubsets_

std::map<label, meshSubset> pointSubsets_
protected

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