Foam::edgeMeshTools Namespace Reference

Collection of static functions related to edgeMesh features. More...

Functions

void writeStats (Ostream &os, const extendedFeatureEdgeMesh &emesh)
 Write some information. More...
 
tmp< scalarFieldfeatureProximity (const extendedEdgeMesh &emesh, const triSurface &surf, const scalar searchDistance)
 Calculate proximity of the features to the surface. More...
 
tmp< scalarFieldwriteFeatureProximity (const Time &runTime, const word &basename, const extendedEdgeMesh &emesh, const triSurface &surf, const scalar searchDistance)
 Calculate proximity of the features to the surface and write the field. More...
 

Detailed Description

Collection of static functions related to edgeMesh features.

Source files

Function Documentation

◆ writeStats()

void writeStats ( Ostream os,
const extendedFeatureEdgeMesh emesh 
)

Write some information.

Definition at line 35 of file edgeMeshTools.C.

References extendedEdgeMesh::concaveStart(), edgeMesh::edges(), Foam::endl(), extendedEdgeMesh::flatStart(), extendedEdgeMesh::internalStart(), extendedEdgeMesh::mixedStart(), extendedEdgeMesh::multipleStart(), Foam::nl, extendedEdgeMesh::nonFeatureStart(), extendedEdgeMesh::openStart(), os(), edgeMesh::points(), and UList< T >::size().

Here is the call graph for this function:

◆ featureProximity()

Foam::tmp< Foam::scalarField > featureProximity ( const extendedEdgeMesh emesh,
const triSurface surf,
const scalar  searchDistance 
)

Calculate proximity of the features to the surface.

Definition at line 140 of file edgeMeshFeatureProximity.C.

References extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::allNearestFeaturePoints(), Foam::calcProximityOfFeatureEdges(), Foam::calcProximityOfFeaturePoints(), triangle< Point, PointRef >::circumCentre(), triangle< Point, PointRef >::circumRadius(), Foam::endl(), featureProximity(), forAll, Foam::Info, Foam::min(), PrimitivePatch< FaceList, PointField >::points(), tmp< T >::ref(), UList< T >::size(), and Foam::sqr().

Referenced by featureProximity(), and writeFeatureProximity().

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

◆ writeFeatureProximity()

Foam::tmp< Foam::scalarField > writeFeatureProximity ( const Time runTime,
const word basename,
const extendedEdgeMesh emesh,
const triSurface surf,
const scalar  searchDistance 
)

Calculate proximity of the features to the surface and write the field.

Definition at line 190 of file edgeMeshFeatureProximity.C.

References Foam::dimLength, Foam::endl(), featureProximity(), Foam::Info, Foam::nl, tmp< T >::ref(), runTime, UList< T >::swap(), and regIOobject::write().

Here is the call graph for this function: