A surface zone on a MeshedSurface. More...
Public Member Functions | |
| surfZone (const surfZone &)=default | |
| Copy construct. More... | |
| surfZone & | operator= (const surfZone &)=default |
| Copy assignment. More... | |
| surfZone () | |
| Default construct, with zero start, size, index. More... | |
| surfZone (const word &name, const label size) | |
| Construct with name, size. With zero start, index. More... | |
| surfZone (const word &name, const label size, const label start, const label index, const word &geometricType=word::null) | |
| Construct from components. More... | |
| surfZone (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. More... | |
| surfZone (const surfZone &, const label index) | |
| Copy construct, resetting the index. More... | |
| autoPtr< surfZone > | clone () const |
| Return clone. More... | |
| label | start () const |
| The start label of this zone in the face list. More... | |
| label & | start () |
| Modifiable start label of this zone in the face list. More... | |
| label | size () const |
| The size of this zone in the face list. More... | |
| label & | size () |
| Modifiable size of this zone in the face list. More... | |
| labelRange | range () const |
| The start/size range of this zone. More... | |
| void | write (Ostream &os) const |
| Write dictionary, includes surrounding braces. More... | |
| surfZone (Istream &is, const label index)=delete | |
| Removed(2020-01) Construct from Istream. More... | |
| void | writeDict (Ostream &os) const |
| Deprecated(2020-01) Write dictionary. More... | |
Public Member Functions inherited from surfZoneIdentifier | |
| surfZoneIdentifier (const surfZoneIdentifier &)=default | |
| Copy construct. More... | |
| surfZoneIdentifier & | operator= (const surfZoneIdentifier &)=default |
| Copy assignment. More... | |
| surfZoneIdentifier () | |
| Default construct, with index zero. More... | |
| surfZoneIdentifier (const label index) | |
| Construct null with specified index. More... | |
| surfZoneIdentifier (const word &name, const label index) | |
| Construct from mandatory components. More... | |
| surfZoneIdentifier (const word &name, const label index, const word &geometricType) | |
| Construct from components. More... | |
| surfZoneIdentifier (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. More... | |
| surfZoneIdentifier (const surfZoneIdentifier &p, const label index) | |
| Copy construct, resetting the index. More... | |
| const word & | name () const |
| The patch/zone name. More... | |
| word & | name () |
| Modifiable patch/zone name. More... | |
| const word & | geometricType () const |
| The geometric type of the patch/zone. More... | |
| word & | geometricType () |
| Modifiable geometric type of the patch/zone. More... | |
| label | index () const |
| The index of this patch/zone in the surface mesh. More... | |
| label & | index () |
| Modifiable index of this patch/zone in the surface mesh. More... | |
| void | write (Ostream &os) const |
Static Public Member Functions | |
| static autoPtr< surfZone > | New (Istream &is) |
Static Public Member Functions inherited from surfZoneIdentifier | |
| static word | defaultName (const label n=-1) |
| Default zone name: "zone" or "zoneN". More... | |
Additional Inherited Members | |
Static Public Attributes inherited from surfZoneIdentifier | |
| static constexpr const char *const | emptyType = "empty" |
| The name for an 'empty' type. More... | |
A surface zone on a MeshedSurface.
Similar in concept to a faceZone, but the face list is contiguous.
Definition at line 56 of file surfZone.H.
| surfZone | ( | ) |
Default construct, with zero start, size, index.
Definition at line 34 of file surfZone.C.
Construct with name, size. With zero start, index.
Definition at line 42 of file surfZone.C.
| surfZone | ( | const word & | name, |
| const label | size, | ||
| const label | start, | ||
| const label | index, | ||
| const word & | geometricType = word::null |
||
| ) |
Construct from components.
Definition at line 51 of file surfZone.C.
| surfZone | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index | ||
| ) |
Construct from dictionary.
Definition at line 66 of file surfZone.C.
Copy construct, resetting the index.
Definition at line 78 of file surfZone.C.
References surfZoneIdentifier::index().
Removed(2020-01) Construct from Istream.
Definition at line 116 of file surfZone.H.
References dict, surfZoneIdentifier::name(), and autoPtr< T >::New().
|
inline |
The start label of this zone in the face list.
Definition at line 128 of file surfZone.H.
Referenced by Foam::operator==().
|
inline |
Modifiable start label of this zone in the face list.
Definition at line 134 of file surfZone.H.
|
inline |
The size of this zone in the face list.
Definition at line 140 of file surfZone.H.
Referenced by Foam::operator==().
|
inline |
Modifiable size of this zone in the face list.
Definition at line 146 of file surfZone.H.
|
inline |
The start/size range of this zone.
Definition at line 152 of file surfZone.H.
Referenced by sampledMeshedSurface::sampledMeshedSurface().
| void write | ( | Ostream & | os | ) | const |
Write dictionary, includes surrounding braces.
Definition at line 88 of file surfZone.C.
References Ostream::beginBlock(), Ostream::endBlock(), Foam::name(), surfZoneIdentifier::write(), and Ostream::writeEntry().
Referenced by Foam::operator<<(), and surfZone::writeDict().
|
inline |
Deprecated(2020-01) Write dictionary.
Definition at line 171 of file surfZone.H.
References surfZone::write().