Encapsulates queries for volume refinement ('refine all cells within shell'). More...
Public Types | |
enum | refineMode { INSIDE, OUTSIDE, DISTANCE } |
Public Member Functions | |
shellSurfaces (const searchableSurfaces &allGeometry, const dictionary &shellsDict, const bool dryRun=false) | |
const labelList & | shells () const |
const List< List< FixedList< label, 3 > > > & | extendedGapLevel () const |
const List< List< volumeType > > & | extendedGapMode () const |
const boolListList & | gapSelf () const |
label | maxLevel () const |
labelList | maxGapLevel () const |
labelPairList | directionalSelectLevel () const |
void | findHigherLevel (const pointField &pt, const labelList &ptLevel, labelList &maxLevel) const |
void | findHigherGapLevel (const pointField &pt, const labelList &ptLevel, labelList &gapShell, List< FixedList< label, 3 >> &gapInfo, List< volumeType > &gapMode) const |
void | findHigherGapLevel (const pointField &pt, const labelList &ptLevel, List< FixedList< label, 3 >> &gapInfo, List< volumeType > &gapMode) const |
void | findLevel (const pointField &pt, const labelList &ptLevel, labelList &shell) const |
void | findDirectionalLevel (const pointField &pt, const labelList &ptLevel, const labelList &dirLevel, const direction dir, labelList &shell) const |
const vectorField & | smoothDirection () const |
const labelList & | nSmoothExpansion () const |
const labelList & | nSmoothPosition () const |
Encapsulates queries for volume refinement ('refine all cells within shell').
Definition at line 53 of file shellSurfaces.H.
enum refineMode |
Enumerator | |
---|---|
INSIDE | |
OUTSIDE | |
DISTANCE |
Definition at line 60 of file shellSurfaces.H.
shellSurfaces | ( | const searchableSurfaces & | allGeometry, |
const dictionary & | shellsDict, | ||
const bool | dryRun = false |
||
) |
Definition at line 575 of file shellSurfaces.C.
References dict, entry::dict(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::findEntry(), forAll, dictionary::found(), dictionary::getOrDefault(), Foam::Info, IOWarningInFunction, entry::keyword(), Foam::labelMax, Foam::labelMin, dictionary::lookup(), volumeType::MIXED, Istream::readBegin(), Istream::readEnd(), dictionary::readEntry(), keyType::REGEX, regionNames, searchableSurface::regions(), FixedList::setSize(), FixedList::size(), entry::stream(), dictionary::subDict(), dictionary::toc(), WarningInFunction, VectorSpace< Vector< label >, label, 3 >::zero, and VectorSpace< Vector< scalar >, scalar, 3 >::zero.
|
inline |
Definition at line 182 of file shellSurfaces.H.
Definition at line 188 of file shellSurfaces.H.
|
inline |
Definition at line 194 of file shellSurfaces.H.
|
inline |
Definition at line 200 of file shellSurfaces.H.
Foam::label maxLevel | ( | ) | const |
Definition at line 808 of file shellSurfaces.C.
References forAll, and Foam::max().
Foam::labelList maxGapLevel | ( | ) | const |
Definition at line 819 of file shellSurfaces.C.
References forAll, Foam::max(), and Foam::Zero.
Foam::labelPairList directionalSelectLevel | ( | ) | const |
Definition at line 835 of file shellSurfaces.C.
References forAll.
void findHigherLevel | ( | const pointField & | pt, |
const labelList & | ptLevel, | ||
labelList & | maxLevel | ||
) | const |
Definition at line 865 of file shellSurfaces.C.
References forAll.
void findHigherGapLevel | ( | const pointField & | pt, |
const labelList & | ptLevel, | ||
labelList & | gapShell, | ||
List< FixedList< label, 3 >> & | gapInfo, | ||
List< volumeType > & | gapMode | ||
) | const |
Definition at line 882 of file shellSurfaces.C.
References forAll, volumeType::MIXED, and List::setSize().
void findHigherGapLevel | ( | const pointField & | pt, |
const labelList & | ptLevel, | ||
List< FixedList< label, 3 >> & | gapInfo, | ||
List< volumeType > & | gapMode | ||
) | const |
Definition at line 907 of file shellSurfaces.C.
void findLevel | ( | const pointField & | pt, |
const labelList & | ptLevel, | ||
labelList & | shell | ||
) | const |
Definition at line 920 of file shellSurfaces.C.
References forAll, and List::setSize().
void findDirectionalLevel | ( | const pointField & | pt, |
const labelList & | ptLevel, | ||
const labelList & | dirLevel, | ||
const direction | dir, | ||
labelList & | shell | ||
) | const |
Definition at line 939 of file shellSurfaces.C.
References DynamicList::append(), DynamicList::clear(), forAll, volumeType::INSIDE, volumeType::OUTSIDE, Pair::second(), and List::setSize().
const Foam::vectorField & smoothDirection | ( | ) | const |
Definition at line 852 of file shellSurfaces.C.
const Foam::labelList & nSmoothExpansion | ( | ) | const |
Definition at line 846 of file shellSurfaces.C.
const Foam::labelList & nSmoothPosition | ( | ) | const |
Definition at line 858 of file shellSurfaces.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.