Go to the documentation of this file.
38 #ifndef refinementParameters_H
39 #define refinementParameters_H
64 const label maxGlobalCells_;
67 const label maxLocalCells_;
70 const label minRefineCells_;
76 const scalar planarAngle_;
79 const label nBufferLayers_;
99 const Switch allowFreeStandingZoneFaces_;
103 const Switch useTopologicalSnapDetection_;
106 const scalar maxLoadUnbalance_;
108 const Switch handleSnapProblems_;
110 const Switch interfaceRefine_;
112 const label nErodeCellZone_;
114 const label nFilterIter_;
116 const scalar minCellFraction_;
145 return maxGlobalCells_;
151 return maxLocalCells_;
157 return minRefineCells_;
175 return nBufferLayers_;
181 return locationsInMesh_;
193 return locationsOutsideMesh_;
200 return allowFreeStandingZoneFaces_;
207 return useTopologicalSnapDetection_;
213 return maxLoadUnbalance_;
218 return handleSnapProblems_;
224 return interfaceRefine_;
230 return nErodeCellZone_;
244 return minCellFraction_;
264 const bool checkInsideMesh,
bool allowFreeStandingZoneFaces() const
static labelList zonedLocations(const wordList &zonesInMesh)
const wordList & zonesInMesh() const
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
bool useTopologicalSnapDetection() const
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
label maxGlobalCells() const
scalar maxLoadUnbalance() const
A class for handling words, derived from Foam::string.
scalar planarAngle() const
label nFilterIter() const
static labelList findCells(const bool checkInsideMesh, const polyMesh &, const pointField &locations)
Mesh consisting of general polyhedral cells.
List< word > wordList
A List of words.
Generic templated field type.
label maxLocalCells() const
label nBufferLayers() const
static labelList unzonedLocations(const wordList &zonesInMesh)
Simple container to keep together refinement specific information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const pointField & locationsOutsideMesh() const
bool interfaceRefine() const
bool handleSnapProblems() const
dictionary getZoneInfo(const word &fzName, surfaceZonesInfo::faceZoneType &faceType) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelList addCellZonesToMesh(polyMesh &) const
scalar minCellFraction() const
label nErodeCellZone() const
const pointField & locationsInMesh() const
label minRefineCells() const