Go to the documentation of this file.
35 #ifndef refinementFeatures_H
36 #define refinementFeatures_H
54 public PtrList<extendedFeatureEdgeMesh>
refinementFeatures(const objectRegistry &io, const PtrList< dictionary > &featDicts)
Construct from description.
void findNearestPoint(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo) const
Find nearest feature point. Sets.
void buildTrees(const label)
Build edge tree and feature point tree.
scalar maxDistance() const
Highest distance of all features.
List< scalarField > distances_
Per shell the list of ranges.
Registry of regIOobjects.
PtrList< indexedOctree< treeDataEdge > > edgeTrees_
Edge.
scalarField samples(nIntervals, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const PtrList< indexedOctree< treeDataEdge > > & edgeTrees() const
const List< scalarField > & distances() const
Per featureEdgeMesh the list of ranges.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
PtrList< indexedOctree< treeDataPoint > > pointTrees_
Features points.
void read(const objectRegistry &, const PtrList< dictionary > &)
Read set of feature edge meshes.
autoPtr< PtrList< indexedOctree< treeDataEdge > > > regionEdgeTreesPtr_
Region edge trees (demand driven)
labelListList levels_
Per shell per distance the refinement level.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const PtrList< indexedOctree< treeDataEdge > > & regionEdgeTrees() const
void findNearestRegionEdge(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo, vectorField &nearNormal) const
Find nearest point on nearest region edge. Sets.
Encapsulates queries for features.
const labelListList & levels() const
Per featureEdgeMesh the list of level.
A 2-tuple for storing two objects of different types.
void findHigherLevel(const pointField &pt, const label featI, labelList &maxLevel) const
Find shell level higher than ptLevel.
void findNearestEdge(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo, vectorField &nearNormal) const
Find nearest point on nearest feature edge. Sets.
const PtrList< indexedOctree< treeDataPoint > > & pointTrees() const