Simple container to keep together refinement specific information. More...
#include <autoMesh/refinementParameters.H>
Simple container to keep together refinement specific information.
Definition at line 54 of file refinementParameters.H.
Public Member Functions | |
| refinementParameters (const dictionary &dict, const label dummy) | |
| Construct from dictionary - old syntax. | |
| refinementParameters (const dictionary &dict) | |
| Construct from dictionary - new syntax. | |
| label | maxGlobalCells () const |
| Total number of cells. | |
| label | maxLocalCells () const |
| Per processor max number of cells. | |
| label | minRefineCells () const |
| When to stop refining. | |
| scalar | curvature () const |
| Curvature. | |
| label | nBufferLayers () const |
| Number of layers between different refinement levels. | |
| const pointField & | keepPoints () const |
| Areas to keep. | |
| bool | allowFreeStandingZoneFaces () const |
| Are zone faces allowed only inbetween different cell zones. | |
| scalar | maxLoadUnbalance () const |
| Allowed load unbalance. | |
| labelList | findCells (const polyMesh &) const |
| Checks that cells are in mesh. Returns cells they are in. | |
| refinementParameters | ( | const dictionary & | dict, |
| const label | dummy | ||
| ) |
Construct from dictionary - old syntax.
Definition at line 35 of file refinementParameters.C.
| refinementParameters | ( | const dictionary & | dict | ) |
Construct from dictionary - new syntax.
Definition at line 58 of file refinementParameters.C.
References Foam::cos(), dictionary::lookup(), Foam::mathematicalConstant::pi(), and Foam::readScalar().
|
inline |
Total number of cells.
Definition at line 109 of file refinementParameters.H.
Referenced by autoHexMeshDriver::autoHexMeshDriver().
|
inline |
Per processor max number of cells.
Definition at line 115 of file refinementParameters.H.
Referenced by autoHexMeshDriver::autoHexMeshDriver().
|
inline |
When to stop refining.
Definition at line 121 of file refinementParameters.H.
Referenced by autoHexMeshDriver::autoHexMeshDriver().
|
inline |
Curvature.
Definition at line 127 of file refinementParameters.H.
Referenced by autoHexMeshDriver::autoHexMeshDriver().
|
inline |
Number of layers between different refinement levels.
Definition at line 133 of file refinementParameters.H.
Referenced by autoHexMeshDriver::autoHexMeshDriver().
|
inline |
Areas to keep.
Definition at line 139 of file refinementParameters.H.
|
inline |
Are zone faces allowed only inbetween different cell zones.
or also just free standing?
Definition at line 146 of file refinementParameters.H.
|
inline |
Allowed load unbalance.
Definition at line 152 of file refinementParameters.H.
| Foam::labelList findCells | ( | const polyMesh & | mesh | ) | const |
Checks that cells are in mesh. Returns cells they are in.
Definition at line 90 of file refinementParameters.C.
References polyMesh::bounds(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, primitiveMesh::findCell(), forAll, Pstream::myProcNo(), primitiveMesh::nCells(), Foam::nl, Foam::Pout, and Foam::reduce().
Referenced by autoRefineDriver::doRefine().