Simple container to keep together refinement specific information. More...
Public Member Functions | |
refinementParameters (const dictionary &dict, const bool dryRun=false) | |
label | maxGlobalCells () const |
label | maxLocalCells () const |
label | minRefineCells () const |
scalar | curvature () const |
scalar | planarAngle () const |
label | nBufferLayers () const |
const pointField & | locationsInMesh () const |
const wordList & | zonesInMesh () const |
const pointField & | locationsOutsideMesh () const |
bool | allowFreeStandingZoneFaces () const |
bool | useTopologicalSnapDetection () const |
scalar | maxLoadUnbalance () const |
bool | handleSnapProblems () const |
bool | interfaceRefine () const |
label | nErodeCellZone () const |
label | nFilterIter () const |
scalar | minCellFraction () const |
dictionary | getZoneInfo (const word &fzName, surfaceZonesInfo::faceZoneType &faceType) const |
labelList | addCellZonesToMesh (polyMesh &) const |
Static Public Member Functions | |
static labelList | findCells (const bool checkInsideMesh, const polyMesh &, const pointField &locations) |
static labelList | zonedLocations (const wordList &zonesInMesh) |
static labelList | unzonedLocations (const wordList &zonesInMesh) |
Simple container to keep together refinement specific information.
Definition at line 54 of file refinementParameters.H.
refinementParameters | ( | const dictionary & | dict, |
const bool | dryRun = false |
||
) |
Definition at line 33 of file refinementParameters.C.
References List::append(), Foam::cos(), Foam::degToRad(), dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, forAll, IOWarningInFunction, and nZones.
|
inline |
Definition at line 138 of file refinementParameters.H.
|
inline |
Definition at line 144 of file refinementParameters.H.
|
inline |
Definition at line 150 of file refinementParameters.H.
|
inline |
Definition at line 156 of file refinementParameters.H.
|
inline |
Definition at line 162 of file refinementParameters.H.
|
inline |
Definition at line 168 of file refinementParameters.H.
|
inline |
Definition at line 174 of file refinementParameters.H.
Referenced by snappyVoxelMeshDriver::doRefine(), and snappyRefineDriver::doRefine().
|
inline |
Definition at line 180 of file refinementParameters.H.
|
inline |
Definition at line 186 of file refinementParameters.H.
Referenced by snappyVoxelMeshDriver::doRefine(), and snappyRefineDriver::doRefine().
|
inline |
Definition at line 193 of file refinementParameters.H.
|
inline |
Definition at line 200 of file refinementParameters.H.
|
inline |
Definition at line 206 of file refinementParameters.H.
|
inline |
Definition at line 211 of file refinementParameters.H.
|
inline |
Definition at line 217 of file refinementParameters.H.
|
inline |
Definition at line 223 of file refinementParameters.H.
|
inline |
Definition at line 230 of file refinementParameters.H.
|
inline |
Definition at line 237 of file refinementParameters.H.
Referenced by snappyRefineDriver::doRefine().
Foam::dictionary getZoneInfo | ( | const word & | fzName, |
surfaceZonesInfo::faceZoneType & | faceType | ||
) | const |
Definition at line 152 of file refinementParameters.C.
References dictionary::add(), dictionary::found(), dictionary::readIfPresent(), and dictionary::subDict().
Referenced by snappyRefineDriver::addFaceZones().
Foam::labelList addCellZonesToMesh | ( | polyMesh & | mesh | ) | const |
Definition at line 181 of file refinementParameters.C.
|
static |
Definition at line 203 of file refinementParameters.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, globalIndex::isLocal(), mesh, Foam::nl, reduce(), globalIndex::toGlobal(), globalIndex::toLocal(), and globalIndex::whichProcID().
Referenced by snappyRefineDriver::doRefine().
|
static |
Definition at line 263 of file refinementParameters.C.
References DynamicList::append(), and forAll.
|
static |
Definition at line 285 of file refinementParameters.C.
References DynamicList::append(), and forAll.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.