37 #ifndef refinementFeatures_H 38 #define refinementFeatures_H 56 public PtrList<extendedFeatureEdgeMesh>
86 void buildTrees(
const label);
121 const bool dryRun =
false 203 const scalar maxRatio,
const PtrList< indexedOctree< treeDataPoint > > & pointTrees() const
scalar maxDistance() const
Highest distance of all features.
void findNearestPoint(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo) const
Find nearest feature point. Sets.
scalarField samples(nIntervals, Zero)
A bounding box defined in terms of min/max extrema points.
bool checkSizes(const scalar maxRatio, const boundBox &meshBb, const bool report, Ostream &os) const
Check sizes - return true if error and stream to os.
Encapsulates queries for features.
const List< scalarField > & distances() const
Per featureEdgeMesh the list of ranges.
const PtrList< indexedOctree< treeDataEdge > > & edgeTrees() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void findNearestRegionEdge(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo, vectorField &nearNormal) const
Find nearest point on nearest region edge. Sets.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
const PtrList< indexedOctree< treeDataEdge > > & regionEdgeTrees() const
void findNearestEdge(const pointField &samples, const scalarField &nearestDistSqr, labelList &nearFeature, List< pointIndexHit > &nearInfo, vectorField &nearNormal) const
Find nearest point on nearest feature edge. Sets.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Registry of regIOobjects.
refinementFeatures(const objectRegistry &io, const PtrList< dictionary > &featDicts, const bool dryRun=false)
Construct from description.
const labelListList & levels() const
Per featureEdgeMesh the list of level.
List< treeBoundBox > meshBb(1, treeBoundBox(coarseMesh.points()).extend(rndGen, 1e-3))