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

Public Member Functions

 meshSurfaceCheckInvertedVertices (const meshSurfacePartitioner &)
 Construct from meshSurfacePartitioner. More...
 
 meshSurfaceCheckInvertedVertices (const meshSurfacePartitioner &, const boolList &activePoints)
 Construct from meshSurfacePartitioner and a list of active points. More...
 
 ~meshSurfaceCheckInvertedVertices ()
 
const labelHashSetinvertedVertices () const
 return the labels of inverted vertices More...
 

Private Member Functions

void checkVertices ()
 check vertices by calculating dot products More...
 
 meshSurfaceCheckInvertedVertices (const meshSurfaceCheckInvertedVertices &)
 Disallow default bitwise copy construct. More...
 
void operator= (const meshSurfaceCheckInvertedVertices &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const meshSurfacePartitionersurfacePartitioner_
 mesh surface partitioner More...
 
const boolListactivePointsPtr_
 active surface points More...
 
labelHashSet invertedVertices_
 set of inverted vertices More...
 

Detailed Description

Definition at line 54 of file meshSurfaceCheckInvertedVertices.H.

Constructor & Destructor Documentation

◆ meshSurfaceCheckInvertedVertices() [1/3]

Disallow default bitwise copy construct.

◆ meshSurfaceCheckInvertedVertices() [2/3]

Construct from meshSurfacePartitioner.

Definition at line 409 of file meshSurfaceCheckInvertedVertices.C.

◆ meshSurfaceCheckInvertedVertices() [3/3]

meshSurfaceCheckInvertedVertices ( const meshSurfacePartitioner mpart,
const boolList activePoints 
)

Construct from meshSurfacePartitioner and a list of active points.

Definition at line 421 of file meshSurfaceCheckInvertedVertices.C.

◆ ~meshSurfaceCheckInvertedVertices()

Definition at line 435 of file meshSurfaceCheckInvertedVertices.C.

Member Function Documentation

◆ checkVertices()

void checkVertices ( )
private

check vertices by calculating dot products

chech the first triangle (with the next node)

face has zero area

collocated points

normal vector is not visible

check the second triangle (with previous node)

face has zero area

collocated points

normal vector is not visible

check whether the normals of both triangles point in the same direction

check if there exist concave faces

exchange global labels of inverted points

exchange data with other processors

Definition at line 48 of file meshSurfaceCheckInvertedVertices.C.

References triangle::a(), meshSurfaceCheckInvertedVertices::activePointsPtr_, triangle::b(), meshSurfacePartitioner::boundaryFacePatches(), meshSurfaceEngine::boundaryFaces(), meshSurfaceEngine::boundaryPoints(), meshSurfaceEngine::bp(), meshSurfaceEngine::bpAtProcs(), meshSurfaceEngine::bpNeiProcs(), triangle::c(), HashTable::clear(), labelledPoint::coordinates(), meshSurfacePartitioner::corners(), meshSurfacePartitioner::edgePoints(), Foam::help::exchangeMap(), meshSurfaceEngine::faceCentres(), meshSurfaceEngine::faceNormals(), forAll, forAllConstIter(), forAllIter, forAllRow, HashTable::found(), meshSurfaceEngine::globalToLocalBndPointAddressing(), HashSet< Key, Hash >::insert(), meshSurfaceCheckInvertedVertices::invertedVertices_, Foam::help::isFaceConvexAndOk(), refLabelledPoint::lPoint(), Foam::mag(), Foam::magSqr(), UPstream::myProcNo(), face::nextLabel(), triangle::normal(), refLabelledPoint::objectLabel(), UPstream::parRun(), meshSurfaceEngine::pointFaces(), meshSurfaceEngine::pointInFaces(), labelledPoint::pointLabel(), meshSurfaceEngine::pointNormals(), points, meshSurfaceEngine::points(), face::prevLabel(), meshSurfacePartitioner::surfaceEngine(), and meshSurfaceCheckInvertedVertices::surfacePartitioner_.

Here is the call graph for this function:

◆ operator=()

void operator= ( const meshSurfaceCheckInvertedVertices )
private

Disallow default bitwise assignment.

◆ invertedVertices()

const labelHashSet& invertedVertices ( ) const
inline

Field Documentation

◆ surfacePartitioner_

const meshSurfacePartitioner& surfacePartitioner_
private

mesh surface partitioner

Definition at line 58 of file meshSurfaceCheckInvertedVertices.H.

Referenced by meshSurfaceCheckInvertedVertices::checkVertices().

◆ activePointsPtr_

const boolList* activePointsPtr_
private

active surface points

Definition at line 61 of file meshSurfaceCheckInvertedVertices.H.

Referenced by meshSurfaceCheckInvertedVertices::checkVertices().

◆ invertedVertices_

labelHashSet invertedVertices_
private

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