Simple container to keep together refinement specific information. More...
Public Member Functions | |
refinementParameters (const dictionary &dict) | |
Construct from dictionary - new syntax. More... | |
refinementParameters (const refinementParameters &)=delete | |
Disallow default bitwise copy construction. More... | |
label | maxGlobalCells () const |
Total number of cells. More... | |
label | maxLocalCells () const |
Per processor max number of cells. More... | |
label | minRefineCells () const |
When to stop refining. More... | |
scalar | curvature () const |
Curvature. More... | |
scalar | planarAngle () const |
Angle when two intersections are considered to be planar. More... | |
label | nBufferLayers () const |
Number of layers between different refinement levels. More... | |
const pointField & | keepPoints () const |
Areas to keep. More... | |
bool | allowFreeStandingZoneFaces () const |
Are zone faces allowed only in between different cell zones. More... | |
bool | useTopologicalSnapDetection () const |
Use old topology based problem-cell removal. More... | |
scalar | maxLoadUnbalance () const |
Allowed load unbalance. More... | |
bool | handleSnapProblems () const |
labelList | findCells (const polyMesh &) const |
Checks that cells are in mesh. Returns cells they are in. More... | |
void | operator= (const refinementParameters &)=delete |
Disallow default bitwise assignment. More... | |
Simple container to keep together refinement specific information.
Definition at line 53 of file refinementParameters.H.
refinementParameters | ( | const dictionary & | dict | ) |
Construct from dictionary - new syntax.
Definition at line 33 of file refinementParameters.C.
References Foam::cos(), Foam::degToRad(), and dictionary::lookup().
|
delete |
Disallow default bitwise copy construction.
|
inline |
Total number of cells.
Definition at line 108 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Per processor max number of cells.
Definition at line 114 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
When to stop refining.
Definition at line 120 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Curvature.
Definition at line 126 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Angle when two intersections are considered to be planar.
Definition at line 132 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Number of layers between different refinement levels.
Definition at line 138 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Areas to keep.
Definition at line 144 of file refinementParameters.H.
References refinementParameters::allowFreeStandingZoneFaces(), and refinementParameters::useTopologicalSnapDetection().
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Are zone faces allowed only in between different cell zones.
or also just free standing?
Definition at line 151 of file refinementParameters.H.
Referenced by refinementParameters::keepPoints(), and snappyRefineDriver::snappyRefineDriver().
|
inline |
Use old topology based problem-cell removal.
(cells with 8 points on surface)
Definition at line 158 of file refinementParameters.H.
Referenced by refinementParameters::keepPoints(), and snappyRefineDriver::snappyRefineDriver().
|
inline |
Allowed load unbalance.
Definition at line 164 of file refinementParameters.H.
Referenced by snappyRefineDriver::snappyRefineDriver().
|
inline |
Definition at line 169 of file refinementParameters.H.
References refinementParameters::findCells(), and refinementParameters::operator=().
Foam::labelList findCells | ( | const polyMesh & | mesh | ) | const |
Checks that cells are in mesh. Returns cells they are in.
Definition at line 74 of file refinementParameters.C.
References polyMesh::bounds(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, polyMesh::findCell(), forAll, Foam::Info, primitiveMesh::nCells(), Foam::nl, Foam::reduce(), List< T >::size(), and polyMesh::tetBasePtIs().
Referenced by snappyRefineDriver::doRefine(), and refinementParameters::handleSnapProblems().
|
delete |
Disallow default bitwise assignment.
Referenced by refinementParameters::handleSnapProblems().