Go to the documentation of this file.
35 #ifndef refinementParameters_H
36 #define refinementParameters_H
232 const bool checkInsideMesh,
bool allowFreeStandingZoneFaces() const
Are zone faces allowed only inbetween different cell zones.
static labelList zonedLocations(const wordList &zonesInMesh)
Extract indices of named locations (so excludes 'keepPoints')
const wordList & zonesInMesh() const
Per area the zone name.
bool useTopologicalSnapDetection() const
Use old topology based problem-cell removal.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
label maxGlobalCells() const
Total number of cells.
scalar maxLoadUnbalance_
Allowed load unbalance.
dictionary faceZoneControls_
Information on how to handle faces on faceZones.
scalar maxLoadUnbalance() const
Allowed load unbalance.
faceZoneType
What to do with faceZone faces.
A class for handling words, derived from string.
Switch useTopologicalSnapDetection_
Use old topology based problem-cell removal (cells with 8 points.
scalar planarAngle() const
Angle when two intersections are considered to be planar.
const pointField locationsOutsideMesh_
Areas not to keep.
static labelList findCells(const bool checkInsideMesh, const polyMesh &, const pointField &locations)
Checks that cells are in mesh. Returns cells (or -1) they.
scalar curvature_
Curvature.
wordList zonesInMesh_
Region for location.
Mesh consisting of general polyhedral cells.
Switch 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.
Pre-declare SubField and related Field type.
label maxLocalCells() const
Per processor max number of cells.
label nBufferLayers() const
Number of layers between different refinement levels.
refinementParameters(const refinementParameters &)
Disallow default bitwise copy construct.
static labelList unzonedLocations(const wordList &zonesInMesh)
Extract indices of unnamed locations ('keepPoints')
const label maxLocalCells_
Per processor max number of cells.
Simple container to keep together refinement specific information.
scalar curvature() const
Curvature.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar planarAngle_
Planarity criterion.
const pointField & locationsOutsideMesh() const
Optional points which are checked to be outside the mesh.
bool interfaceRefine() const
Refine cell with opposite faces with different refinement level.
const label minRefineCells_
When to stop refining.
bool handleSnapProblems() const
pointField locationsInMesh_
Areas to keep.
dictionary getZoneInfo(const word &fzName, surfaceZonesInfo::faceZoneType &faceType) const
Get patchInfo and faceType for faceZone.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const label maxGlobalCells_
Total number of cells.
Switch allowFreeStandingZoneFaces_
FaceZone faces allowed which have owner and neighbour in same.
labelList addCellZonesToMesh(polyMesh &) const
Add cellZones to mesh. Return indices of cellZones (or -1)
const pointField & locationsInMesh() const
Areas to keep.
const label nBufferLayers_
Number of layers between different refinement levels.
label minRefineCells() const
When to stop refining.
void operator=(const refinementParameters &)
Disallow default bitwise assignment.