Go to the documentation of this file.
45 const scalar defaultCellSize
48 scalar minDist = defaultCellSize;
53 hI1 < hitList.size() - 1;
74 minDist =
min(curDist, minDist);
88 const scalar defaultCellSize
91 scalar minDist = defaultCellSize;
96 hI1 < hitList.size() - 1;
109 hI2 < hitList.size();
125 minDist =
min(curDist, minDist);
144 const scalar searchDistance
150 Info<<
"Extracting proximity of close feature points and "
151 <<
"edges to the surface" <<
endl;
158 const scalar radiusSqr =
min
193 const word& basename,
196 const scalar searchDistance
199 Info<<
nl <<
"Extracting curvature of surface at the points."
211 basename +
".featureProximity",
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
label index() const
Return index.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
void allNearestFeatureEdges(const point &sample, const scalar searchRadiusSqr, List< pointIndexHit > &info) const
Find all the feature edges within searchDistSqr of sample.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
bool hit() const
Is there a hit.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
#define forAll(list, i)
Loop across all elements in list.
bool connects(const edge &other) const
Do the edges share a common vertex index?
A triangle primitive used to calculate face normals and swept volumes.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Triangulated surface description with patch information.
messageStream Info
Information stream (uses stdout - output is on the master only)
const Point & hitPoint() const
Return hit point.
const edgeList & edges() const
Return edges.
scalar calcProximityOfFeatureEdges(const edgeMesh &emesh, const List< pointIndexHit > &hitList, const scalar defaultCellSize)
scalar circumRadius() const
Return circum-radius.
const Field< point_type > & points() const
Return reference to global points.
Description of feature edges and points.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Point circumCentre() const
Return circum-centre.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static scalar calcProximityOfFeaturePoints(const List< pointIndexHit > &hitList, const scalar defaultCellSize)
void allNearestFeaturePoints(const point &sample, scalar searchRadiusSqr, List< pointIndexHit > &info) const
Find all the feature points within searchDistSqr of sample.
Mesh data needed to do the Finite Area discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...