34 #ifndef surfaceZonesInfo_H
35 #define surfaceZonesInfo_H
48 class searchableSurface;
49 class searchableSurfaceList;
99 point zoneInsidePoint_;
120 const word& faceZoneNames,
121 const word& cellZoneNames,
123 const point& zoneInsidePoints,
145 return faceZoneName_;
152 return cellZoneName_;
163 return zoneInsidePoint_;
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh consisting of general polyhedral cells.
Container for searchableSurfaces.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
static labelList getInsidePointNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of surfaces with a cellZone that have 'insidePoint'.
areaSelectionAlgo
Types of selection of area.
static const NamedEnum< faceZoneType, 3 > faceZoneTypeNames
static labelList getUnnamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of unnamed surfaces (surfaces without faceZoneName)
faceZoneType
What to do with faceZone faces.
static labelList getNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList)
Get indices of named surfaces (surfaces with faceZoneName)
const word & cellZoneName() const
Per 'interface' surface : empty or name of cellZone to put.
static const NamedEnum< areaSelectionAlgo, 4 > areaSelectionAlgoNames
static labelList getClosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaceList &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are closed and.
surfaceZonesInfo(const searchableSurface &surface, const dictionary &surfacesDict)
Construct from surfaces and dictionary.
static labelList getAllClosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaceList &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)
static labelList getUnclosedNamedSurfaces(const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaceList &allGeometry, const labelList &surfaces)
Get indices of surfaces with a cellZone that are unclosed.
const faceZoneType & faceType() const
How to handle face of surfaces with a faceZone.
const areaSelectionAlgo & zoneInside() const
static labelList addCellZonesToMesh(const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh)
void operator=(const surfaceZonesInfo &)=delete
Disallow default bitwise assignment.
autoPtr< surfaceZonesInfo > clone() const
Return clone.
const point & zoneInsidePoint() const
Get specified inside locations for surfaces with a cellZone.
const word & faceZoneName() const
Per 'interface' surface : empty or name of faceZone to put.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)