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_;
111 return maxGlobalCells_;
117 return maxLocalCells_;
123 return minRefineCells_;
141 return nBufferLayers_;
154 return allowFreeStandingZoneFaces_;
161 return useTopologicalSnapDetection_;
167 return maxLoadUnbalance_;
172 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.
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...
bool handleSnapProblems() const
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/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.
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.
scalar curvature() const
Curvature.
label maxLocalCells() const
Per processor max number of cells.
label nBufferLayers() const
Number of layers between different refinement levels.