Public Types | |
enum | areaSelectionAlgo { INSIDE, OUTSIDE, INSIDEPOINT, NONE } |
Types of selection of area. More... | |
enum | faceZoneType { INTERNAL, BAFFLE, BOUNDARY } |
What to do with faceZone faces. More... | |
Public Member Functions | |
surfaceZonesInfo (const searchableSurface &surface, const dictionary &surfacesDict) | |
Construct from surfaces and dictionary. More... | |
surfaceZonesInfo (const word &faceZoneNames, const word &cellZoneNames, const areaSelectionAlgo &zoneInside, const point &zoneInsidePoints, const faceZoneType &faceType) | |
Construct from components. More... | |
surfaceZonesInfo (const surfaceZonesInfo &) | |
Copy constructor. More... | |
autoPtr< surfaceZonesInfo > | clone () const |
Return clone. More... | |
const word & | faceZoneName () const |
Per 'interface' surface : empty or name of faceZone to put. More... | |
const word & | cellZoneName () const |
Per 'interface' surface : empty or name of cellZone to put. More... | |
const areaSelectionAlgo & | zoneInside () const |
const point & | zoneInsidePoint () const |
Get specified inside locations for surfaces with a cellZone. More... | |
const faceZoneType & | faceType () const |
How to handle face of surfaces with a faceZone. More... | |
Static Public Member Functions | |
static labelList | getUnnamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
Get indices of unnamed surfaces (surfaces without faceZoneName) More... | |
static labelList | getNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
Get indices of named surfaces (surfaces with faceZoneName) More... | |
static labelList | getStandaloneNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
Get indices of named surfaces without a cellZone. More... | |
static labelList | getClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces) |
Get indices of surfaces with a cellZone that are closed and. More... | |
static labelList | getUnclosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces) |
Get indices of surfaces with a cellZone that are unclosed. More... | |
static labelList | getAllClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces) |
Get indices of surfaces with a cellZone that are closed. More... | |
static labelList | getInsidePointNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList) |
Get indices of surfaces with a cellZone that have 'insidePoint'. More... | |
static label | addCellZone (const word &name, const labelList &addressing, polyMesh &mesh) |
static labelList | addCellZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh) |
static label | addFaceZone (const word &name, const labelList &addressing, const boolList &flipMap, polyMesh &mesh) |
static labelList | addFaceZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh) |
Static Public Attributes | |
static const NamedEnum< areaSelectionAlgo, 4 > | areaSelectionAlgoNames |
static const NamedEnum< faceZoneType, 3 > | faceZoneTypeNames |
Private Member Functions | |
void | operator= (const surfaceZonesInfo &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
word | faceZoneName_ |
Per 'interface' surface : name of faceZone to put faces into. More... | |
word | cellZoneName_ |
Per 'interface' surface : name of cellZone to put cells into. More... | |
areaSelectionAlgo | zoneInside_ |
Per 'interface' surface : (only used if surface is closed) More... | |
point | zoneInsidePoint_ |
If zoneInside=location gives the corresponding inside point. More... | |
faceZoneType | faceType_ |
Per 'interface' surface : More... | |
Definition at line 57 of file surfaceZonesInfo.H.
enum areaSelectionAlgo |
Types of selection of area.
Enumerator | |
---|---|
INSIDE | |
OUTSIDE | |
INSIDEPOINT | |
NONE |
Definition at line 62 of file surfaceZonesInfo.H.
enum faceZoneType |
What to do with faceZone faces.
Enumerator | |
---|---|
INTERNAL | |
BAFFLE | |
BOUNDARY |
Definition at line 73 of file surfaceZonesInfo.H.
surfaceZonesInfo | ( | const searchableSurface & | surface, |
const dictionary & | surfacesDict | ||
) |
Construct from surfaces and dictionary.
Definition at line 74 of file surfaceZonesInfo.C.
References Foam::endl(), IOWarningInFunction, dictionary::lookup(), and dictionary::readIfPresent().
Referenced by surfaceZonesInfo::clone().
surfaceZonesInfo | ( | const word & | faceZoneNames, |
const word & | cellZoneNames, | ||
const areaSelectionAlgo & | zoneInside, | ||
const point & | zoneInsidePoints, | ||
const faceZoneType & | faceType | ||
) |
Construct from components.
Definition at line 157 of file surfaceZonesInfo.C.
surfaceZonesInfo | ( | const surfaceZonesInfo & | surfZone | ) |
Copy constructor.
Definition at line 173 of file surfaceZonesInfo.C.
|
private |
Disallow default bitwise assignment.
|
inline |
Return clone.
Definition at line 137 of file surfaceZonesInfo.H.
References surfaceZonesInfo::surfaceZonesInfo().
|
inline |
Per 'interface' surface : empty or name of faceZone to put.
faces into
Definition at line 149 of file surfaceZonesInfo.H.
|
inline |
Per 'interface' surface : empty or name of cellZone to put.
cells into
Definition at line 156 of file surfaceZonesInfo.H.
|
inline |
Definition at line 161 of file surfaceZonesInfo.H.
References surfaceZonesInfo::zoneInside_.
|
inline |
Get specified inside locations for surfaces with a cellZone.
Definition at line 167 of file surfaceZonesInfo.H.
References surfaceZonesInfo::zoneInsidePoint_.
|
inline |
How to handle face of surfaces with a faceZone.
Definition at line 173 of file surfaceZonesInfo.H.
References surfaceZonesInfo::faceType_.
|
static |
Get indices of unnamed surfaces (surfaces without faceZoneName)
Definition at line 184 of file surfaceZonesInfo.C.
References forAll, List::setSize(), and PtrList::size().
|
static |
Get indices of named surfaces (surfaces with faceZoneName)
Definition at line 205 of file surfaceZonesInfo.C.
References forAll, PtrList::set(), List::setSize(), and PtrList::size().
Referenced by main(), and meshRefinement::zonify().
|
static |
Get indices of named surfaces without a cellZone.
Definition at line 230 of file surfaceZonesInfo.C.
References forAll, PtrList::set(), List::setSize(), and PtrList::size().
|
static |
Get indices of surfaces with a cellZone that are closed and.
have 'inside' or 'outside' selection.
Definition at line 256 of file surfaceZonesInfo.C.
References forAll, surfaceZonesInfo::INSIDE, surfaceZonesInfo::OUTSIDE, PtrList::set(), List::setSize(), and PtrList::size().
|
static |
Get indices of surfaces with a cellZone that are unclosed.
Definition at line 288 of file surfaceZonesInfo.C.
References forAll, PtrList::set(), List::setSize(), and PtrList::size().
|
static |
Get indices of surfaces with a cellZone that are closed.
Definition at line 315 of file surfaceZonesInfo.C.
References forAll, PtrList::set(), List::setSize(), and PtrList::size().
|
static |
Get indices of surfaces with a cellZone that have 'insidePoint'.
section.
Definition at line 343 of file surfaceZonesInfo.C.
References forAll, surfaceZonesInfo::INSIDEPOINT, PtrList::set(), List::setSize(), and PtrList::size().
|
static |
Definition at line 369 of file surfaceZonesInfo.C.
References polyMesh::cellZones(), ZoneMesh::findZoneID(), mesh, and Foam::name().
Referenced by refinementParameters::addCellZonesToMesh().
|
static |
Definition at line 400 of file surfaceZonesInfo.C.
References polyMesh::cellZones(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Pstream::gatherList(), mesh, UPstream::myProcNo(), ZoneMesh::names(), Foam::nl, UPstream::nProcs(), word::null, Pstream::scatterList(), List::size(), and PtrList::size().
Referenced by main(), and meshRefinement::zonify().
|
static |
Definition at line 452 of file surfaceZonesInfo.C.
References polyMesh::faceZones(), ZoneMesh::findZoneID(), mesh, and Foam::name().
Referenced by meshRefinement::addFaceZone(), and meshRefinement::zonify().
|
static |
Definition at line 485 of file surfaceZonesInfo.C.
References Foam::exit(), polyMesh::faceZones(), Foam::FatalError, FatalErrorInFunction, forAll, Pstream::gatherList(), mesh, UPstream::myProcNo(), ZoneMesh::names(), Foam::nl, UPstream::nProcs(), Pstream::scatterList(), List::size(), and PtrList::size().
Referenced by meshRefinement::zonify().
|
static |
Definition at line 70 of file surfaceZonesInfo.H.
Referenced by refinementSurfaces::findInside().
|
static |
Definition at line 80 of file surfaceZonesInfo.H.
Referenced by meshRefinement::dupNonManifoldBoundaryPoints(), and refinementParameters::getZoneInfo().
|
private |
Per 'interface' surface : name of faceZone to put faces into.
Definition at line 88 of file surfaceZonesInfo.H.
|
private |
Per 'interface' surface : name of cellZone to put cells into.
Definition at line 91 of file surfaceZonesInfo.H.
|
private |
Per 'interface' surface : (only used if surface is closed)
How to select zone cells : surface inside or outside or given inside location.
Definition at line 96 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo::zoneInside().
|
private |
If zoneInside=location gives the corresponding inside point.
Definition at line 99 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo::zoneInsidePoint().
|
private |
Per 'interface' surface :
What to do with outside
Definition at line 103 of file surfaceZonesInfo.H.
Referenced by surfaceZonesInfo::faceType().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.