Collection of static functions related to edgeMesh features. More...
Functions | |
| void | writeStats (Ostream &os, const extendedFeatureEdgeMesh &emesh) |
| Write some information. | |
| tmp< scalarField > | featureProximity (const extendedEdgeMesh &emesh, const triSurface &surf, const scalar searchDistance) |
| Calculate proximity of the features to the surface. | |
| tmp< 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. | |
Collection of static functions related to edgeMesh features.
| void writeStats | ( | Ostream & | os, |
| const extendedFeatureEdgeMesh & | emesh ) |
Write some information.
Definition at line 28 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().

| 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 132 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(), tmp< T >::New(), PrimitivePatch< FaceList, PointField >::points(), UList< T >::size(), and Foam::sqr().
Referenced by featureProximity(), and 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 182 of file edgeMeshFeatureProximity.C.
References Foam::dimLength, Foam::endl(), featureProximity(), Foam::Info, Foam::nl, IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, tmp< T >::ref(), runTime, DynamicField< T, SizeMin >::swap(), and regIOobject::write().
