Go to the documentation of this file.
36 #ifndef shellSurfaces_H
37 #define shellSurfaces_H
47 class searchableSurfaces;
void setAndCheckLevels(const label shellI, const List< Tuple2< scalar, label > > &)
Helper function for initialisation of levels.
refineMode
Volume refinement controls.
const labelList & shells() const
Indices of surfaces that are shells.
List< scalarField > distances_
Per shell the list of ranges.
void findLevel(const pointField &pt, const label shellI, labelList &minLevel, labelList &shell) const
Find first shell with a level lower or equal to minLevel. Update.
labelList maxGapLevel() const
Highest shell gap level.
labelList shells_
Indices of surfaces that are shells.
List< refineMode > modes_
Per shell whether to refine inside or outside.
Encapsulates queries for volume refinement ('refine all cells within shell').
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 searchableSurfaces & allGeometry_
Reference to all geometry.
List< List< FixedList< label, 3 > > > extendedGapLevel_
Per shell, per region the small-gap level specification.
A list of keyword definitions, which are a keyword followed by any number of values (e....
List< List< volumeType > > extendedGapMode_
Per shell, per region the small-gap level specification.
void findHigherGapLevel(const pointField &pt, const labelList &ptLevel, const label shellI, labelList &gapShell, List< FixedList< label, 3 > > &gapInfo, List< volumeType > &gapMode) const
Update highest min gap level.
labelListList levels_
Per shell per distance the refinement level.
void findHigherLevel(const pointField &pt, const label shellI, labelList &maxLevel) const
Find first shell with a level higher than maxLevel.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Container for searchableSurfaces.
static const NamedEnum< refineMode, 3 > refineModeNames_
refineMode names
void checkGapLevels(const dictionary &, const label shellI, const List< FixedList< label, 3 > > &levels)
Helper function for checking of gap information.
A 2-tuple for storing two objects of different types.
shellSurfaces(const searchableSurfaces &allGeometry, const dictionary &shellsDict)
Construct from geometry and dictionary.
label maxLevel() const
Highest shell level.