Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
surfaceZonesInfo Class Reference
Collaboration diagram for surfaceZonesInfo:
Collaboration graph
[legend]

Public Types

enum  areaSelectionAlgo { INSIDE, OUTSIDE, INSIDEPOINT, NONE }
 
enum  faceZoneNaming { NOZONE, SINGLE, REGION }
 
enum  faceZoneType { INTERNAL, BAFFLE, BOUNDARY }
 

Public Member Functions

 surfaceZonesInfo (const searchableSurface &surface, const dictionary &surfacesDict, const wordList &regionNames)
 
 surfaceZonesInfo (const wordList &faceZoneNames, const word &cellZoneNames, const areaSelectionAlgo &zoneInside, const point &zoneInsidePoints, const faceZoneType &faceType)
 
 surfaceZonesInfo (const surfaceZonesInfo &)
 
autoPtr< surfaceZonesInfoclone () const
 
const wordListfaceZoneNames () const
 
const wordcellZoneName () const
 
const areaSelectionAlgozoneInside () const
 
const pointzoneInsidePoint () const
 
const faceZoneTypefaceType () const
 

Static Public Member Functions

static labelList getUnnamedSurfaces (const PtrList< surfaceZonesInfo > &surfList)
 
static labelList getNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList)
 
static labelList getStandaloneNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList)
 
static labelList getClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
 
static labelList getUnclosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
 
static labelList getAllClosedNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList, const searchableSurfaces &allGeometry, const labelList &surfaces)
 
static labelList getInsidePointNamedSurfaces (const PtrList< surfaceZonesInfo > &surfList)
 
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 labelListList addFaceZonesToMesh (const PtrList< surfaceZonesInfo > &surfList, const labelList &namedSurfaces, polyMesh &mesh)
 

Static Public Attributes

static const Enum< areaSelectionAlgoareaSelectionAlgoNames
 
static const Enum< faceZoneNamingfaceZoneNamingNames
 
static const Enum< faceZoneTypefaceZoneTypeNames
 

Detailed Description

Source files

Definition at line 56 of file surfaceZonesInfo.H.

Member Enumeration Documentation

◆ areaSelectionAlgo

Enumerator
INSIDE 
OUTSIDE 
INSIDEPOINT 
NONE 

Definition at line 61 of file surfaceZonesInfo.H.

◆ faceZoneNaming

Enumerator
NOZONE 
SINGLE 
REGION 

Definition at line 72 of file surfaceZonesInfo.H.

◆ faceZoneType

Enumerator
INTERNAL 
BAFFLE 
BOUNDARY 

Definition at line 82 of file surfaceZonesInfo.H.

Constructor & Destructor Documentation

◆ surfaceZonesInfo() [1/3]

surfaceZonesInfo ( const searchableSurface surface,
const dictionary surfacesDict,
const wordList regionNames 
)

◆ surfaceZonesInfo() [2/3]

surfaceZonesInfo ( const wordList faceZoneNames,
const word cellZoneNames,
const areaSelectionAlgo zoneInside,
const point zoneInsidePoints,
const faceZoneType faceType 
)

Definition at line 208 of file surfaceZonesInfo.C.

◆ surfaceZonesInfo() [3/3]

surfaceZonesInfo ( const surfaceZonesInfo surfZone)

Definition at line 224 of file surfaceZonesInfo.C.

Member Function Documentation

◆ clone()

autoPtr<surfaceZonesInfo> clone ( ) const
inline

Definition at line 148 of file surfaceZonesInfo.H.

References autoPtr::New().

Here is the call graph for this function:

◆ faceZoneNames()

const wordList& faceZoneNames ( ) const
inline

Definition at line 160 of file surfaceZonesInfo.H.

◆ cellZoneName()

const word& cellZoneName ( ) const
inline

Definition at line 167 of file surfaceZonesInfo.H.

◆ zoneInside()

const areaSelectionAlgo& zoneInside ( ) const
inline

Definition at line 172 of file surfaceZonesInfo.H.

◆ zoneInsidePoint()

const point& zoneInsidePoint ( ) const
inline

Definition at line 178 of file surfaceZonesInfo.H.

◆ faceType()

const faceZoneType& faceType ( ) const
inline

Definition at line 184 of file surfaceZonesInfo.H.

◆ getUnnamedSurfaces()

Foam::labelList getUnnamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList)
static

Definition at line 235 of file surfaceZonesInfo.C.

References forAll, and List::setSize().

Referenced by snappySnapDriver::calcNearestSurface(), snappySnapDriver::detectNearSurfaces(), meshRefinement::removeGapCells(), and snappySnapDriver::repatchToSurface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNamedSurfaces()

Foam::labelList getNamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList)
static

Definition at line 256 of file surfaceZonesInfo.C.

References forAll, PtrList::set(), and List::setSize().

Referenced by snappySnapDriver::calcNearestSurface(), snappySnapDriver::detectNearSurfaces(), snappySnapDriver::repatchToSurface(), and meshRefinement::zonify().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getStandaloneNamedSurfaces()

Foam::labelList getStandaloneNamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList)
static

Definition at line 281 of file surfaceZonesInfo.C.

References forAll, PtrList::set(), and List::setSize().

Here is the call graph for this function:

◆ getClosedNamedSurfaces()

Foam::labelList getClosedNamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList,
const searchableSurfaces allGeometry,
const labelList surfaces 
)
static

Definition at line 307 of file surfaceZonesInfo.C.

References forAll, surfaceZonesInfo::INSIDE, surfaceZonesInfo::OUTSIDE, PtrList::set(), and List::setSize().

Here is the call graph for this function:

◆ getUnclosedNamedSurfaces()

Foam::labelList getUnclosedNamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList,
const searchableSurfaces allGeometry,
const labelList surfaces 
)
static

Definition at line 339 of file surfaceZonesInfo.C.

References forAll, PtrList::set(), and List::setSize().

Here is the call graph for this function:

◆ getAllClosedNamedSurfaces()

Foam::labelList getAllClosedNamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList,
const searchableSurfaces allGeometry,
const labelList surfaces 
)
static

Definition at line 366 of file surfaceZonesInfo.C.

References forAll, PtrList::set(), and List::setSize().

Here is the call graph for this function:

◆ getInsidePointNamedSurfaces()

Foam::labelList getInsidePointNamedSurfaces ( const PtrList< surfaceZonesInfo > &  surfList)
static

Definition at line 394 of file surfaceZonesInfo.C.

References forAll, surfaceZonesInfo::INSIDEPOINT, PtrList::set(), and List::setSize().

Here is the call graph for this function:

◆ addCellZone()

Foam::label addCellZone ( const word name,
const labelList addressing,
polyMesh mesh 
)
static

Definition at line 420 of file surfaceZonesInfo.C.

References polyMesh::cellZones(), ZoneMesh::findZoneID(), mesh, and Foam::name().

Here is the call graph for this function:

◆ addCellZonesToMesh()

Foam::labelList addCellZonesToMesh ( const PtrList< surfaceZonesInfo > &  surfList,
const labelList namedSurfaces,
polyMesh mesh 
)
static

Definition at line 451 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, and Pstream::scatterList().

Referenced by meshRefinement::zonify().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addFaceZone()

Foam::label addFaceZone ( const word name,
const labelList addressing,
const boolList flipMap,
polyMesh mesh 
)
static

Definition at line 503 of file surfaceZonesInfo.C.

References polyMesh::faceZones(), ZoneMesh::findZoneID(), mesh, and Foam::name().

Referenced by meshRefinement::addFaceZone(), and meshRefinement::zonify().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addFaceZonesToMesh()

Foam::labelListList addFaceZonesToMesh ( const PtrList< surfaceZonesInfo > &  surfList,
const labelList namedSurfaces,
polyMesh mesh 
)
static

Definition at line 536 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(), and List::setSize().

Referenced by meshRefinement::zonify().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ areaSelectionAlgoNames

const Foam::Enum< Foam::surfaceZonesInfo::areaSelectionAlgo > areaSelectionAlgoNames
static

Definition at line 69 of file surfaceZonesInfo.H.

Referenced by refinementSurfaces::findInside().

◆ faceZoneNamingNames

const Foam::Enum< Foam::surfaceZonesInfo::faceZoneNaming > faceZoneNamingNames
static

Definition at line 79 of file surfaceZonesInfo.H.

◆ faceZoneTypeNames

const Foam::Enum< Foam::surfaceZonesInfo::faceZoneType > faceZoneTypeNames
static

The documentation for this class was generated from the following files: