Go to the documentation of this file.
34 #ifndef surfaceZonesInfo_H
35 #define surfaceZonesInfo_H
49 class searchableSurface;
50 class searchableSurfaces;
127 const word& faceZoneNames,
128 const word& cellZoneNames,
130 const point& zoneInsidePoints,
static const NamedEnum< areaSelectionAlgo, 4 > areaSelectionAlgoNames
faceZoneType
What to do with faceZone faces.
surfaceZonesInfo(const searchableSurface &surface, const dictionary &surfacesDict)
Construct from surfaces and dictionary.
A class for handling words, derived from string.
const faceZoneType & faceType() const
How to handle face of surfaces with a faceZone.
static labelList getInsidePointNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of surfaces with a cellZone that have 'insidePoint'.
faceZoneType faceType_
Per 'interface' surface :
static labelList getNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of named surfaces (surfaces with faceZoneName)
autoPtr< surfaceZonesInfo > clone() const
Return clone.
static labelList getAllClosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are closed.
static labelList addFaceZonesToMesh(const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh)
Mesh consisting of general polyhedral cells.
static labelList getStandaloneNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of named surfaces without a cellZone.
void operator=(const surfaceZonesInfo &)
Disallow default bitwise assignment.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
areaSelectionAlgo
Types of selection of area.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
word faceZoneName_
Per 'interface' surface : name of faceZone to put faces into.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static const NamedEnum< faceZoneType, 3 > faceZoneTypeNames
static labelList getClosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are closed and.
static labelList getUnclosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are unclosed.
static labelList getUnnamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of unnamed surfaces (surfaces without faceZoneName)
areaSelectionAlgo zoneInside_
Per 'interface' surface : (only used if surface is closed)
const word & faceZoneName() const
Per 'interface' surface : empty or name of faceZone to put.
const areaSelectionAlgo & zoneInside() const
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const point & zoneInsidePoint() const
Get specified inside locations for surfaces with a cellZone.
Container for searchableSurfaces.
point zoneInsidePoint_
If zoneInside=location gives the corresponding inside point.
word cellZoneName_
Per 'interface' surface : name of cellZone to put cells into.
word name(const complex &)
Return a string representation of a complex.
const word & cellZoneName() const
Per 'interface' surface : empty or name of cellZone to put.
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)