Zone container returned by zoneGenerator::generate. More...

Public Types | |
| enum class | zoneTypess { point , cell , face } |
| Enumeration defining the zone types. More... | |
Public Member Functions | |
| zoneSet () | |
| Construct null. More... | |
| zoneSet (const zoneSet &) | |
| Construct copy transferring content of temporaries. More... | |
| zoneSet (zoneSet &&)=default | |
| Construct copy moving content. More... | |
| zoneSet (pointZone *pointZonePtr) | |
| Construct from pointZone pointer. More... | |
| zoneSet (cellZone *cellZonePtr) | |
| Construct from cellZone pointer. More... | |
| zoneSet (faceZone *faceZonePtr) | |
| Construct from faceZone pointer. More... | |
| zoneSet (pointZone *pointZonePtr, cellZone *cellZonePtr, faceZone *faceZonePtr) | |
| Construct from pointZone, cellZone and faceZone pointers. More... | |
| zoneSet (const pointZone &pointZoneRef) | |
| Construct from pointZone. More... | |
| zoneSet (const cellZone &cellZoneRef) | |
| Construct from cellZone. More... | |
| zoneSet (const faceZone &faceZoneRef) | |
| Construct from faceZone. More... | |
| zoneSet (const zoneSet &, bool allowTransfer) | |
| Construct copy transferring content of temporaries if required. More... | |
| zoneSet | clone (const word &name) const |
| Construct and return a clone with a new name. More... | |
| bool | pValid () const |
| Return true if the pointZone is allocated. More... | |
| bool | cValid () const |
| Return true if the cellZone is allocated. More... | |
| bool | fValid () const |
| Return true if the faceZone is allocated. More... | |
| bool | valid () const |
| Return true if any of the zone types are allocated. More... | |
| template<class ZoneType > | |
| bool | valid () const |
| Return true if the zone type specified by template specialisation. More... | |
| const pointZone & | pZone () const |
| Return a reference to the pointZone if allocated. More... | |
| const cellZone & | cZone () const |
| Return a reference to the cellZone if allocated. More... | |
| const faceZone & | fZone () const |
| Return a reference to the faceZone if allocated. More... | |
| template<class ZoneType > | |
| const ZoneType & | zone () const |
| Return a reference to the zone type. More... | |
| zoneSet | store () const |
| Store the temporary zones and return the stored zoneSet. More... | |
| void | operator= (const zoneSet &) |
| Assignment transferring the temporary zones. More... | |
| zoneSet & | operator= (zoneSet &&)=default |
| Assignment moving content. More... | |
| void | operator= (const pointZone &) |
| Assignment to pointZone, updating pZone_. More... | |
| void | operator= (const cellZone &) |
| Assignment to cellZone, updating cZone_. More... | |
| void | operator= (const faceZone &) |
| Assignment to faceZone, updating fZone_. More... | |
| template<> | |
| bool | valid () const |
| template<> | |
| bool | valid () const |
| template<> | |
| bool | valid () const |
| template<> | |
| const pointZone & | zone () const |
| template<> | |
| const cellZone & | zone () const |
| template<> | |
| const faceZone & | zone () const |
Zone container returned by zoneGenerator::generate.
Optionally contains any combination of point, cell or face zones generated by the zoneGenerator::generate function which may simply be the zones returned by a lookup from the lists of zones stored on the mesh or generated by the particular zoneGenerator from a geometric search for example.
Having zoneSet optionally hold zones of more than one type is particularly useful for the generation of complex coupled or related zone systems, for example rotating regions requiring both the cellZone of the rotating cells and the faces of the outer moving/sliding boundary.
|
strong |
|
inline |
Construct null.
Definition at line 61 of file zoneSetI.H.
Construct copy transferring content of temporaries.
Definition at line 69 of file zoneSetI.H.
Construct from pointZone pointer.
Definition at line 77 of file zoneSetI.H.
Construct from cellZone pointer.
Definition at line 85 of file zoneSetI.H.
Construct from faceZone pointer.
Definition at line 93 of file zoneSetI.H.
Construct from pointZone, cellZone and faceZone pointers.
Definition at line 101 of file zoneSetI.H.
Construct from pointZone.
Definition at line 114 of file zoneSetI.H.
Construct from cellZone.
Definition at line 122 of file zoneSetI.H.
Construct from faceZone.
Definition at line 130 of file zoneSetI.H.
Construct copy transferring content of temporaries if required.
Definition at line 138 of file zoneSetI.H.
|
inline |
Construct and return a clone with a new name.
Definition at line 146 of file zoneSetI.H.
References Foam::clone(), and Foam::name().
Referenced by periodic::generate().


|
inline |
Return true if the pointZone is allocated.
Definition at line 167 of file zoneSetI.H.
Referenced by face::generate(), intersection::generate(), periodic::generate(), point::generate(), and Union::generate().

|
inline |
Return true if the cellZone is allocated.
Definition at line 174 of file zoneSetI.H.
Referenced by face::generate(), intersection::generate(), periodic::generate(), point::generate(), and Union::generate().

|
inline |
Return true if the faceZone is allocated.
Definition at line 181 of file zoneSetI.H.
Referenced by face::generate(), intersection::generate(), periodic::generate(), point::generate(), and Union::generate().

|
inline |
Return true if any of the zone types are allocated.
Definition at line 188 of file zoneSetI.H.
|
inline |
Return true if the zone type specified by template specialisation.
is allocated
|
inline |
Return a reference to the pointZone if allocated.
otherwise stop with an error
Definition at line 216 of file zoneSetI.H.
Referenced by intersection::generate(), point::generate(), lookup::generate(), and Union::generate().

|
inline |
Return a reference to the cellZone if allocated.
otherwise stop with an error
Definition at line 223 of file zoneSetI.H.
Referenced by face::generate(), intersection::generate(), point::generate(), lookup::generate(), and Union::generate().

|
inline |
Return a reference to the faceZone if allocated.
otherwise stop with an error
Definition at line 230 of file zoneSetI.H.
Referenced by face::generate(), flip::generate(), orient::generate(), intersection::generate(), point::generate(), lookup::generate(), Union::generate(), generatedFaceZone::name(), insideSurface::select(), and volume::select().

|
inline |
Return a reference to the zone type.
specified by template specialisation if allocated otherwise stop with an error
Referenced by insideSurface::select(), and volume::select().

| Foam::zoneSet store | ( | ) | const |
Store the temporary zones and return the stored zoneSet.
Definition at line 53 of file zoneSet.C.
References ZoneList< ZoneType, ZonesType, MeshType >::append(), and Zone< ZoneType, ZonesType >::zones().

| void operator= | ( | const zoneSet & | zs | ) |
Assignment transferring the temporary zones.
Definition at line 93 of file zoneSet.C.
Referenced by generatedZoneSet::distribute(), generatedZoneSet::mapMesh(), generatedZoneSet::movePoints(), generatedZoneSet::read(), generatedZoneSet::set(), and generatedZoneSet::topoChange().

|
inline |
Assignment to pointZone, updating pZone_.
Definition at line 260 of file zoneSetI.H.
|
inline |
Assignment to cellZone, updating cZone_.
Definition at line 266 of file zoneSetI.H.
|
inline |
Assignment to faceZone, updating fZone_.
Definition at line 272 of file zoneSetI.H.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |