35 #ifndef refinementParameters_H
36 #define refinementParameters_H
96 const label maxGlobalCells_;
99 const label maxLocalCells_;
102 const label minRefineCells_;
111 const label nBufferLayers_;
114 const cellSelectionPoints selectionPoints_;
118 Switch allowFreeStandingZoneFaces_;
122 Switch useTopologicalSnapDetection_;
125 scalar maxLoadUnbalance_;
127 Switch handleSnapProblems_;
148 return maxGlobalCells_;
154 return maxLocalCells_;
160 return minRefineCells_;
178 return nBufferLayers_;
185 return selectionPoints_;
192 return allowFreeStandingZoneFaces_;
199 return useTopologicalSnapDetection_;
205 return maxLoadUnbalance_;
210 return handleSnapProblems_;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
Class to hold the points to select cells inside and outside.
const List< point > & outside() const
Return the points outside the surface region to deselect cells.
cellSelectionPoints(const dictionary &dict)
Constructor.
const List< point > & inside() const
Return the points inside the surface regions to selected cells.
Simple container to keep together refinement specific information.
refinementParameters(const dictionary &dict)
Construct from dictionary - new syntax.
scalar planarAngle() const
Angle when two intersections are considered to be planar.
label maxLocalCells() const
Per processor max number of cells.
scalar curvature() const
Curvature.
label minRefineCells() const
When to stop refining.
bool useTopologicalSnapDetection() const
Use old topology based problem-cell removal.
void operator=(const refinementParameters &)=delete
Disallow default bitwise assignment.
scalar maxLoadUnbalance() const
Allowed load unbalance.
bool allowFreeStandingZoneFaces() const
Are zone faces allowed only in between different cell zones.
label maxGlobalCells() const
Total number of cells.
const cellSelectionPoints & selectionPoints() const
Return the points to select cells inside and outside.
bool handleSnapProblems() const
label nBufferLayers() const
Number of layers between different refinement levels.
labelList findCells(const polyMesh &) const
Checks that cells are in mesh. Returns cells they are in.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.