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

Public Member Functions

 cornerEvaluator (const edgeExtractor &, const meshSurfacePartitioner &)
 construct from edgeExtractor and meshSurfacePartitioner More...
 
 ~cornerEvaluator ()
 
void improveCorners (labelList &newBoundaryPatches)
 

Private Member Functions

void createParallelAddressing ()
 create addressing at inter-processor boundaries More...
 
void sortedFacesAtPoint (const label, DynList< label > &) const
 sort faces attached to a boundary point More...
 

Private Attributes

const edgeExtractorextractor_
 const reference to the parent class More...
 
const meshSurfacePartitionerpartitioner_
 const reference to meshSurfacePartitioner More...
 
std::map< label, DynList< DynList< labelledPoint, 6 > > > faceMap_
 faces attached to points at inter-processor boundaries More...
 
std::map< label, DynList< label > > facePatches_
 
std::map< label, DynList< label > > faceAtProc_
 

Detailed Description

Definition at line 282 of file edgeExtractor.H.

Constructor & Destructor Documentation

◆ cornerEvaluator()

cornerEvaluator ( const edgeExtractor ee,
const meshSurfacePartitioner mPart 
)

construct from edgeExtractor and meshSurfacePartitioner

Definition at line 653 of file edgeExtractorCorners.C.

References UPstream::parRun().

Here is the call graph for this function:

◆ ~cornerEvaluator()

Definition at line 670 of file edgeExtractorCorners.C.

Member Function Documentation

◆ createParallelAddressing()

void createParallelAddressing ( )
private

◆ sortedFacesAtPoint()

void sortedFacesAtPoint ( const label  bpI,
DynList< label > &  pFaces 
) const
private

sort faces attached to a boundary point

Definition at line 619 of file edgeExtractorCorners.C.

References meshSurfaceEngine::boundaryFaces(), VRWGraph::containsAtPosition(), Foam::e, face::faceEdge(), forAll, pFaces, meshSurfaceEngine::pointFaces(), meshSurfaceEngine::pointInFaces(), and Foam::pos().

Here is the call graph for this function:

◆ improveCorners()

void improveCorners ( labelList newBoundaryPatches)

check patches of the faces attached to corners and re-assign the patches such that the mesh undergoes minimum rotation during the projection stage

get faces attached to this point sorted in the counter-clocwise order

find feature edges attached to the point

find the best aligned feature edge to the feature edge

find the proection of the first point onto the feature edge

calculate the vector of current edge

project the endpoint onto the feature edge

calculate alignment metrix between the current edge and the feature edge

Definition at line 676 of file edgeExtractorCorners.C.

References DynList< T, staticSize >::append(), meshSurfaceEngine::boundaryFaces(), meshSurfaceEngine::boundaryPoints(), DynList< T, staticSize >::contains(), Foam::endl(), DynList< T, staticSize >::fcIndex(), meshOctree::findNearestPointToPatches(), forAll, forAllConstIter(), fv(), Foam::Info, Foam::mag(), p, patches, pFaces, points, meshSurfaceEngine::points(), Foam::pos(), DynList< T, staticSize >::size(), and face::which().

Here is the call graph for this function:

Field Documentation

◆ extractor_

const edgeExtractor& extractor_
private

const reference to the parent class

Definition at line 286 of file edgeExtractor.H.

◆ partitioner_

const meshSurfacePartitioner& partitioner_
private

const reference to meshSurfacePartitioner

Definition at line 289 of file edgeExtractor.H.

◆ faceMap_

std::map<label, DynList<DynList<labelledPoint, 6> > > faceMap_
private

faces attached to points at inter-processor boundaries

Definition at line 292 of file edgeExtractor.H.

◆ facePatches_

std::map<label, DynList<label> > facePatches_
private

Definition at line 293 of file edgeExtractor.H.

◆ faceAtProc_

std::map<label, DynList<label> > faceAtProc_
private

Definition at line 294 of file edgeExtractor.H.


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