Public Member Functions | |
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 |
Protected Member Functions | |
void | operator= (const polyMeshGenPoints &) |
polyMeshGenPoints (const polyMeshGenPoints &) | |
Protected Attributes | |
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... | |
Friends | |
class | polyMeshGenModifier |
Definition at line 55 of file polyMeshGenPoints.H.
|
protected |
polyMeshGenPoints | ( | const Time & | runTime | ) |
Null constructor.
Definition at line 39 of file polyMeshGenPoints.C.
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.
|
protected |
|
inline |
access to Time
Definition at line 39 of file polyMeshGenPointsI.H.
References polyMeshGenPoints::runTime_.
Referenced by workflowControls::exitAfterCurrentStep(), meshOptimizer::optimizeBoundaryLayer(), workflowControls::restartRequested(), and meshOptimizer::untangleBoundaryLayer().
|
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().
|
inline |
non-const access to points
|
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_.
point subsets
Definition at line 88 of file polyMeshGenPoints.C.
References Foam::endl(), Foam::max(), meshSubset::POINTSUBSET, polyMeshGenPoints::pointSubsetIndex(), polyMeshGenPoints::pointSubsets_, and Foam::Warning.
Referenced by boundaryLayerOptimisation::calculateHairEdges(), meshSurfaceCheckEdgeTypes::classifyEdges(), extrudeLayer::createNewVertices(), partTetMesh::createPolyMesh(), meshSurfaceEdgeExtractorFUN::improveQualityOfFundamentalSheets(), meshOptimizer::lockCells(), meshOptimizer::lockFaces(), meshOptimizer::lockPoints(), refineBoundaryLayers::pointsInBndLayer(), and polyMeshGenPoints::read().
void removePointSubset | ( | const label | subsetID | ) |
Definition at line 114 of file polyMeshGenPoints.C.
References polyMeshGenPoints::pointSubsets_.
Definition at line 122 of file polyMeshGenPoints.C.
References Foam::endl(), polyMeshGenPoints::pointSubsets_, and Foam::Warning.
Definition at line 135 of file polyMeshGenPoints.C.
References polyMeshGenPoints::pointSubsets_.
Referenced by polyMeshGenPoints::addPointSubset(), meshOptimizer::lockPointsInSubset(), and refineBoundaryLayers::pointsInBndLayer().
Definition at line 60 of file polyMeshGenPointsI.H.
Referenced by boundaryLayerOptimisation::calculateHairEdges(), meshSurfaceCheckEdgeTypes::classifyEdges(), extrudeLayer::createNewVertices(), partTetMesh::createPolyMesh(), meshSurfaceEdgeExtractorFUN::improveQualityOfFundamentalSheets(), meshOptimizer::lockCells(), meshOptimizer::lockFaces(), meshOptimizer::lockPoints(), and refineBoundaryLayers::pointsInBndLayer().
Definition at line 73 of file polyMeshGenPointsI.H.
Definition at line 86 of file polyMeshGenPointsI.H.
References DynList< T, staticSize >::append(), and DynList< T, staticSize >::clear().
Definition at line 106 of file polyMeshGenPointsI.H.
References DynList< T, staticSize >::append(), DynList< T, staticSize >::clear(), and polyMeshGenPoints::pointSubsets_.
|
inline |
Definition at line 122 of file polyMeshGenPointsI.H.
References List::clear(), and pointLabels().
Referenced by meshOptimizer::lockPointsInSubset().
|
inline |
Definition at line 138 of file polyMeshGenPointsI.H.
References polyMeshGenPoints::pointSubsets_.
Referenced by polyMeshGenModifier::removeUnusedVertices().
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().
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().
|
friend |
Definition at line 76 of file polyMeshGenPoints.H.
|
protected |
reference to the Time registry
Definition at line 61 of file polyMeshGenPoints.H.
Referenced by polyMeshGenCells::calculateOwnersAndNeighbours(), polyMeshGenPoints::read(), polyMeshGenCells::read(), polyMeshGenFaces::read(), polyMeshGenPoints::returnTime(), polyMeshGen::write(), polyMeshGenPoints::write(), polyMeshGenCells::write(), and polyMeshGenFaces::write().
|
protected |
list of vertices
Definition at line 64 of file polyMeshGenPoints.H.
Referenced by polyMeshGenPoints::appendVertex(), polyMeshGenPoints::points(), polyMeshGenModifier::pointsAccess(), polyMeshGenPoints::read(), polyMeshGenModifier::removeUnusedVertices(), and polyMeshGenPoints::write().
|
protected |
map of point subsets
Definition at line 67 of file polyMeshGenPoints.H.
Referenced by polyMeshGenPoints::addPointSubset(), polyMeshGenPoints::pointSubsetIndex(), polyMeshGenPoints::pointSubsetIndices(), polyMeshGenPoints::pointSubsetName(), polyMeshGenPoints::read(), polyMeshGenPoints::removePointSubset(), polyMeshGenPoints::updatePointSubsets(), and polyMeshGenPoints::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.