Collection of static functions related to edgeMesh features. More...
Functions | |
void | writeStats (Ostream &os, const extendedFeatureEdgeMesh &emesh) |
Write some information. More... | |
tmp< scalarField > | featureProximity (const extendedEdgeMesh &emesh, const triSurface &surf, const scalar searchDistance) |
Calculate proximity of the features to the surface. More... | |
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. More... | |
Collection of static functions related to edgeMesh features.
void writeStats | ( | Ostream & | os, |
const extendedFeatureEdgeMesh & | emesh | ||
) |
Write some information.
Definition at line 29 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().
Referenced by distributedTriSurfaceMesh::distributedTriSurfaceMesh().
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 133 of file edgeMeshFeatureProximity.C.
References extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::allNearestFeaturePoints(), Foam::calcProximityOfFeatureEdges(), Foam::calcProximityOfFeaturePoints(), triangle< Point, PointRef >::circumCentre(), triangle< Point, PointRef >::circumRadius(), Foam::endl(), forAll, Foam::Info, Foam::min(), PrimitivePatch< FaceList, PointField >::points(), tmp< T >::ref(), UList< T >::size(), and Foam::sqr().
Referenced by 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 183 of file edgeMeshFeatureProximity.C.
References Foam::dimLength, Foam::endl(), featureProximity(), Foam::Info, Foam::nl, tmp< T >::ref(), runTime, and UList< T >::swap().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.