A surface zone on a MeshedSurface. More...


Public Member Functions | |
| ClassName ("surfZone") | |
| Runtime type information. More... | |
| surfZone () | |
| Construct null. More... | |
| surfZone (const word &name, const label size, const label start, const label index, const word &geometricType=word::null) | |
| Construct from components. More... | |
| surfZone (Istream &is, const label index) | |
| Construct from Istream. More... | |
| surfZone (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. More... | |
| surfZone (const surfZone &, const label index) | |
| Construct from another zone, resetting the index. More... | |
| autoPtr< surfZone > | clone () const |
| Return clone. More... | |
| label | start () const |
| Return start label of this zone in the face list. More... | |
| label & | start () |
| Return start label of this zone in the face list. More... | |
| label | size () const |
| Return size of this zone in the face list. More... | |
| label & | size () |
| Return size of this zone in the face list. More... | |
| void | write (Ostream &) const |
| Write. More... | |
| void | writeDict (Ostream &) const |
| Write dictionary. More... | |
| bool | operator!= (const surfZone &) const |
| bool | operator== (const surfZone &) const |
| compare. More... | |
Public Member Functions inherited from surfZoneIdentifier | |
| surfZoneIdentifier () | |
| Construct null. More... | |
| surfZoneIdentifier (const word &name, const label index, const word &geometricType=word::null) | |
| Construct from components. More... | |
| surfZoneIdentifier (const word &name, const dictionary &, const label index) | |
| Construct from dictionary. More... | |
| surfZoneIdentifier (const surfZoneIdentifier &, const label index) | |
| Construct from another zone identifier, resetting the index. More... | |
| virtual | ~surfZoneIdentifier () |
| Destructor. More... | |
| const word & | name () const |
| Return name. More... | |
| word & | name () |
| Return name for modification. More... | |
| const word & | geometricType () const |
| Return the geometric type of the zone. More... | |
| word & | geometricType () |
| Return the geometric type of the zone for modification. More... | |
| label | index () const |
| Return the index of this zone in the surface mesh. More... | |
| void | write (Ostream &) const |
| Write surfZoneIdentifier as a dictionary. More... | |
Static Public Member Functions | |
| static autoPtr< surfZone > | New (Istream &is) |
Friends | |
| Istream & | operator>> (Istream &, surfZone &) |
| Ostream & | operator<< (Ostream &, const surfZone &) |
A surface zone on a MeshedSurface.
Similar in concept to a faceZone, but the face list is contiguous.
Definition at line 62 of file surfZone.H.
| surfZone | ( | ) |
Construct null.
Definition at line 40 of file surfZone.C.
Referenced by surfZone::New(), and surfZone::surfZone().

| surfZone | ( | const word & | name, |
| const label | size, | ||
| const label | start, | ||
| const label | index, | ||
| const word & | geometricType = word::null |
||
| ) |
Construct from components.
Definition at line 48 of file surfZone.C.
Construct from Istream.
Definition at line 63 of file surfZone.C.
References dict, surfZoneIdentifier::index(), surfZoneIdentifier::name(), and surfZone::surfZone().

| surfZone | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index | ||
| ) |
Construct from dictionary.
Definition at line 76 of file surfZone.C.
Construct from another zone, resetting the index.
Definition at line 89 of file surfZone.C.
| ClassName | ( | "surfZone" | ) |
Runtime type information.
Definition at line 117 of file surfZone.H.
References dict, surfZoneIdentifier::name(), and surfZone::surfZone().

|
inline |
Return start label of this zone in the face list.
Definition at line 129 of file surfZone.H.
Referenced by surfZone::operator==(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Face >::subsetMesh(), and AC3DsurfaceFormat< Face >::write().

|
inline |
Return start label of this zone in the face list.
Definition at line 135 of file surfZone.H.
|
inline |
Return size of this zone in the face list.
Definition at line 141 of file surfZone.H.
Referenced by surfZone::operator==(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Face >::subsetMesh(), and AC3DsurfaceFormat< Face >::write().

|
inline |
Return size of this zone in the face list.
Definition at line 147 of file surfZone.H.
| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 99 of file surfZone.C.
Referenced by Foam::operator<<().

| void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 105 of file surfZone.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, surfZoneIdentifier::write(), and Foam::writeEntry().

| bool operator!= | ( | const surfZone & | rhs | ) | const |
Definition at line 120 of file surfZone.C.
| bool operator== | ( | const surfZone & | rhs | ) | const |
compare.
Definition at line 126 of file surfZone.C.
References surfZoneIdentifier::geometricType(), surfZone::size(), and surfZone::start().
