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