Loading...
Searching...
No Matches
searchingEngine_CGAL.H File Reference

Go to the source code of this file.

Functions

Random rndGen (653213)
List< treeBoundBox > meshBb (1, treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3))
dict add ("bounds", meshBb)
dict add ("distributionType", distributedTriSurfaceMesh::distributionTypeNames_[distributedTriSurfaceMesh::FROZEN])
dict add ("mergeDistance", SMALL)
labelList triSurfaceToAgglom (5 *nFineFaces)
distributedTriSurfaceMesh surfacesMesh (IOobject("wallSurface.stl", runTime.constant(), "triSurface", runTime, IOobject::NO_READ, IOobject::NO_WRITE), localSurface, dict)
triSurfaceToAgglom resize (surfacesMesh.size())
surfacesMesh setField (triSurfaceToAgglom)
triangles reserve (surf.size())
 for (const auto &f :surf)
Tree tree (triangles.begin(), triangles.end())

Variables

dictionary dict
const triSurface localSurface
std::vector< Triangletriangles
const pointField & pts = surf.points()

Function Documentation

◆ rndGen()

Random rndGen ( 653213 )

◆ meshBb()

List< treeBoundBox > meshBb ( 1 ,
treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3)  )

References e, and rndGen.

◆ add() [1/3]

dict add ( "bounds" ,
meshBb  )

References dict, and meshBb().

Here is the call graph for this function:

◆ add() [2/3]

dict add ( "distributionType" ,
distributedTriSurfaceMesh::distributionTypeNames_ [distributedTriSurfaceMesh::FROZEN] )

References dict.

◆ add() [3/3]

dict add ( "mergeDistance" ,
SMALL  )

References dict.

◆ triSurfaceToAgglom()

labelList triSurfaceToAgglom ( 5 * nFineFaces)

◆ surfacesMesh()

distributedTriSurfaceMesh surfacesMesh ( IOobject("wallSurface.stl", runTime.constant(), "triSurface", runTime, IOobject::NO_READ, IOobject::NO_WRITE) ,
localSurface ,
dict  )

References dict, localSurface, and runTime.

◆ resize()

triSurfaceToAgglom resize ( surfacesMesh. size())

References surfacesMesh(), and triSurfaceToAgglom().

Here is the call graph for this function:

◆ setField()

References surfacesMesh(), and triSurfaceToAgglom().

Here is the call graph for this function:

◆ reserve()

◆ for()

for ( const auto &f :surf )

Definition at line 66 of file searchingEngine_CGAL.H.

References b, f(), pts, and triangles.

Here is the call graph for this function:

◆ tree()

Tree tree ( triangles. begin(),
triangles. end() )

References triangles.

Referenced by extendedEdgeMesh::allNearestFeatureEdges(), triSurfaceSearch::calcInside(), faceAreaWeightAMI2D::calculate(), Foam::createTree(), distributedTriSurfaceMesh::distribute(), treeDataPrimitivePatch< PatchType >::findAllIntersectOp::findAllIntersectOp(), polyMesh::findCellFacePt(), treeDataPrimitivePatch< PatchType >::findIntersection(), treeDataPrimitivePatch< primitivePatch >::findIntersection(), treeDataCell::findIntersectOp::findIntersectOp(), treeDataEdge::findIntersectOp::findIntersectOp(), treeDataFace::findIntersectOp::findIntersectOp(), treeDataPoint::findIntersectOp::findIntersectOp(), treeDataPrimitivePatch< PatchType >::findIntersectOp::findIntersectOp(), triSurfaceSearch::findLine(), triSurfaceSearch::findLineAll(), triSurfaceSearch::findLineAny(), mappedPatchBase::findLocalSamples(), searchableExtrudedCircle::findNearest(), triSurfaceSearch::findNearest(), meshSearch::findNearestBoundaryFace(), refinementFeatures::findNearestEdge(), findNearestMaskedOp< PatchType >::findNearestMaskedOp(), treeDataCell::findNearestOp::findNearestOp(), treeDataEdge::findNearestOp::findNearestOp(), treeDataFace::findNearestOp::findNearestOp(), treeDataPoint::findNearestOp::findNearestOp(), treeDataPrimitivePatch< PatchType >::findNearestOp::findNearestOp(), treeDataPrimitivePatch< primitivePatch >::findNearestOp::findNearestOp(), refinementFeatures::findNearestPoint(), searchableExtrudedCircle::findParametricNearest(), treeDataPrimitivePatch< PatchType >::findSelfIntersectOp::findSelfIntersectOp(), findUniqueIntersectOp::findUniqueIntersectOp(), for(), searchableExtrudedCircle::getNormal(), distributedTriSurfaceMesh::getVolumeType(), triSurfaceMesh::getVolumeType(), triSurfaceSearch::nearest(), extendedEdgeMesh::nearestFeatureEdgeByType(), faceAreaWeightAMI2D::operator=(), faceAreaWeightAMI2D::overlappingTgtFaces(), triSurfaceMesh::overlaps(), and propellerInfo::updateSampleDiskCells().

Here is the caller graph for this function:

Variable Documentation

◆ dict

dictionary dict

Definition at line 11 of file searchingEngine_CGAL.H.

◆ localSurface

const triSurface localSurface
Initial value:
= triangulate
(
includePatches,
finalAgglom,
globalNumbering,
coarsePatches
)
const polyBoundaryMesh & patches
labelList triSurfaceToAgglom(5 *nFineFaces)

Definition at line 25 of file searchingEngine_CGAL.H.

◆ triangles

◆ pts

const pointField& pts = surf.points()

Definition at line 64 of file searchingEngine_CGAL.H.

Referenced by tetPoints::back(), triPoints::back(), tetIndices::barycentricToPoint(), booleanSurface::booleanSurface(), searchableBox::boundingSpheres(), triSurfaceMesh::boundingSpheres(), edge::box(), face::box(), meshRefinement::calculateEdgeWeights(), cellShapeControl::cellSize(), cellSizeAndAlignmentControl::cellSizeFunctionVertices(), fileControl::cellSizeFunctionVertices(), searchableSurfaceControl::cellSizeFunctionVertices(), edge::centre(), triSurface::ClassName(), raySearchEngine::closestPointIndex(), Foam::meshTools::constrainToMeshCentre(), edgeVertex::coord(), searchableBox::coordinates(), triSurfaceMesh::coordinates(), coordSetWriter::coordSetWriter(), coordSetWriter::coordSetWriter(), coordSetWriter::coordSetWriter(), conformalVoronoiMesh::createEdgePointGroup(), distanceSurface::createGeometry(), cutFaceAdvect::cutPoints(), triSurfaceTools::delaunay2D(), face::edge(), triFace::edge(), edge::erase(), extendedEdgeMesh::extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), face::face(), Foam::vtk::Tools::Faces(), cellVolumeWeightMethod::findInitialSeeds(), for(), smoothTriSurfaceMesh::getNormal(), triSurfaceMesh::getNormal(), circleSet::getRefPoint(), triSurfaceMeshPointSet::getRefPoint(), uniformBin::initialise(), cellSizeAndAlignmentControl::initialVertices(), fileControl::initialVertices(), searchableSurfaceControl::initialVertices(), PDRblock::innerMesh(), blockMesh::inplacePointTransforms(), triangleFuncs::intersect(), vectorTensorTransform::invTransformPosition(), vectorTensorTransform::invTransformPositionList(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), triSurfaceMesh::isSurfaceClosed(), edge::line(), linePoints::linePoints(), linePoints::linePoints(), lineWriter::lineWriter(), lineWriter::lineWriter(), lineWriter::lineWriter(), face::longestEdge(), lumpedPointState::lumpedPointState(), lumpedPointState::lumpedPointState(), lumpedPointState::lumpedPointState(), edge::mag(), edge::magSqr(), momentOfInertia::massPropertiesShell(), momentOfInertia::massPropertiesSolid(), Patch::mesh(), faceZone::movePoints(), meshedSurfRef::movePoints(), triSurface::movePoints(), ZoneMesh< ZoneType, MeshType >::movePoints(), ZoneMesh< faFaceZone, faMesh >::movePoints(), tetIndices::oldTet(), AMIInterpolation::operator=(), processorPolyPatch::order(), cuttingPlane::performCut(), Foam::vtk::Tools::Points(), Foam::vtk::Tools::Points(), face::points(), searchableCone::points(), searchableCylinder::points(), searchablePlate::points(), searchableSurfaceCollection::points(), triFace::points(), vtuAdaptor::points(), vtuAdaptor::points(), backgroundMeshDecomposition::positionOnThisProcessor(), singleDirectionUniformBin::processField(), backgroundMeshDecomposition::processorNearestPosition(), backgroundMeshDecomposition::processorPosition(), AMIInterpolation::projectPointsToSurface(), face::rcEdge(), triFace::rcEdge(), NASedgeFormat::read(), STARCDedgeFormat::read(), referredWallFace::referredWallFace(), referredWallFace::referredWallFace(), sampledSurface::sampleOnFaces(), sampledSurface::sampleOnFaces(), sampledSurface::sampleOnPoints(), cellSizeFunction::setCellSize(), linearDistance::setCellSize(), uniform::setCellSize(), uniformDistance::setCellSize(), topOVariablesBase::setCutInterfaceFaces(), extendedEdgeMesh::sortPointsAndEdges(), surfaceFeatures::subsetPlane(), reconstructionSchemes::surface(), surfaceWriter::surfaceWriter(), surfaceWriter::surfaceWriter(), surfaceWriter::surfaceWriter(), triSurface::swapPoints(), tetIndices::tet(), tetPoints::tetPoints(), tetPoints::tetPoints(), tetrahedron< Point, PointRef >::tetrahedron(), tetrahedron< point, const point & >::tetrahedron(), triSurface::transfer(), vectorTensorTransform::transformPosition(), vectorTensorTransform::transformPositionList(), triangle< Point, PointRef >::triangle(), triangle< point, const point & >::triangle(), triPoints::triPoints(), triPoints::triPoints(), triSurface::triSurface(), triSurface::triSurface(), triSurface::triSurface(), triSurface::triSurface(), extendedFeatureEdgeMesh::TypeName(), edge::unitVec(), edge::vec(), Foam::vtk::Tools::Vertices(), Foam::vtk::Tools::Vertices(), momentum::write(), vtkWriter::write(), box::writeBoxes(), STARCDsurfaceFormatCore::writeCase(), meshToMeshMethod::writeConnectivity(), VTKsurfaceFormatCore::writeHeader(), VTPsurfaceFormatCore::writeHeader(), AABBTreeBase::writeOBJ(), indexedOctreeBase::writeOBJ(), Foam::meshTools::writeOBJ(), triSurfaceTools::writeOBJ(), Foam::writeObjPoints(), X3DsurfaceFormatCore::writePoints(), topOVariablesBase::writeSurfaceFiles(), csvWriter::writeTemplate(), rawWriter::writeTemplate(), circleSet::~circleSet(), and triSurfaceMeshPointSet::~triSurfaceMeshPointSet().