Go to the documentation of this file.
40 #ifndef refinementSurfaces_H
41 #define refinementSurfaces_H
56 class searchableSurfaces;
154 const label gapLevelIncrement,
203 return regionOffset_;
239 return extendedGapLevel_;
245 return extendedGapMode_;
252 return selfProximity_;
258 return perpendicularAngle_;
271 label
globalRegion(
const label surfI,
const label regionI)
const
273 return regionOffset_[surfI]+regionI;
280 label
minLevel(
const label surfI,
const label regionI)
const
286 label
maxLevel(
const label surfI,
const label regionI)
const
293 return minLevel_.size();
302 const shellSurfaces& shells
316 const shellSurfaces& shells,
337 List<vectorList>& surfaceNormal,
352 List<pointList>& surfaceLocation,
353 List<vectorList>& surfaceNormal,
368 List<pointIndexHit>& hit1,
371 List<pointIndexHit>& hit2,
383 List<pointIndexHit>& hit1,
388 List<pointIndexHit>& hit2,
408 List<pointIndexHit>&,
450 List<pointIndexHit>& hitInfo,
476 List<pointIndexHit>& hitInfo
489 List<pointIndexHit>& hitInfo,
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void findAnyIntersection(const pointField &start, const pointField &end, labelList &surfaces, List< pointIndexHit > &) const
const labelList & maxLevel() const
labelList maxGapLevel() const
void findNearest(const labelList &surfacesToTest, const pointField &samples, const scalarField &nearestDistSqr, labelList &surfaces, List< pointIndexHit > &) const
label maxLevel(const label surfI, const label regionI) const
const labelList & surfaces() const
const boolList & gapSelf() const
Contains information about location on a triSurface.
void findHigherIntersection(const shellSurfaces &shells, const pointField &start, const pointField &end, const labelList ¤tLevel, labelList &surfaces, labelList &surfaceLevel) const
const searchableSurfaces & geometry() const
const labelList & gapLevel() const
Field< vector > vectorField
Specialisation of Field<T> for vector.
const PtrList< surfaceZonesInfo > & surfZones() const
Encapsulates queries for volume refinement ('refine all cells within shell').
const wordList & names() const
labelPair whichSurface(const label globalRegionI) const
Generic templated field type.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
const labelList & minLevel() const
const labelList & blockLevel() const
scalarField samples(nIntervals, Zero)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const List< FixedList< label, 3 > > & extendedGapLevel() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
label globalRegion(const label surfI, const label regionI) const
constexpr auto end(C &c) -> decltype(c.end())
const PtrList< dictionary > & patchInfo() const
void findNearestRegion(const labelList &surfacesToTest, const pointField &samples, const scalarField &nearestDistSqr, labelList &hitSurface, labelList &hitRegion) const
void findInside(const labelList &surfacesToTest, const pointField &pt, labelList &insideSurfaces) const
List< labelList > labelListList
A List of labelList.
void findNearestIntersection(const labelList &surfacesToTest, const pointField &start, const pointField &end, labelList &surface1, List< pointIndexHit > &hit1, labelList ®ion1, labelList &surface2, List< pointIndexHit > &hit2, labelList ®ion2) const
An ordered pair of two objects of type <T> with first() and second() elements.
void findAllIntersections(const pointField &start, const pointField &end, const labelList ¤tLevel, const labelList &globalMinLevel, const labelList &globalMaxLevel, List< vectorList > &surfaceNormal, labelListList &surfaceLevel) const
label minLevel(const label surfI, const label regionI) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const scalarField & perpendicularAngle() const
Container for searchableSurfaces. The collection is specified as a dictionary. For example,...
const List< volumeType > & extendedGapMode() const
const labelList & regionOffset() const
void setMinLevelFields(const shellSurfaces &shells)
Container for data on surfaces used for surface-driven refinement. Contains all the data about the le...