35 #ifndef refinementParameters_H 36 #define refinementParameters_H 59 const label maxGlobalCells_;
62 const label maxLocalCells_;
65 const label minRefineCells_;
74 const label nBufferLayers_;
81 Switch allowFreeStandingZoneFaces_;
85 Switch useTopologicalSnapDetection_;
88 scalar maxLoadUnbalance_;
90 Switch handleSnapProblems_;
116 return maxGlobalCells_;
122 return maxLocalCells_;
128 return minRefineCells_;
146 return nBufferLayers_;
159 return allowFreeStandingZoneFaces_;
166 return useTopologicalSnapDetection_;
172 return maxLoadUnbalance_;
177 return handleSnapProblems_;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar planarAngle() const
Angle when two intersections are considered to be planar.
const pointField & keepPoints() const
Areas to keep.
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.
label maxLocalCells() const
Per processor max number of cells.
bool allowFreeStandingZoneFaces() const
Are zone faces allowed only inbetween different cell zones.
label nBufferLayers() const
Number of layers between different refinement levels.
Simple container to keep together refinement specific information.
bool useTopologicalSnapDetection() const
Use old topology based problem-cell removal.
scalar maxLoadUnbalance() const
Allowed load unbalance.
scalar curvature() const
Curvature.
label maxGlobalCells() const
Total number of cells.
bool handleSnapProblems() const
labelList findCells(const polyMesh &) const
Checks that cells are in mesh. Returns cells they are in.
label minRefineCells() const
When to stop refining.
Mesh consisting of general polyhedral cells.