A surface zone on a MeshedSurface. More...
#include <surfMesh/surfZone.H>
A surface zone on a MeshedSurface.
Similar in concept to a faceZone, but the face list is contiguous.
Definition at line 63 of file surfZone.H.
Public Member Functions | |
ClassName ("surfZone") | |
Runtime type information.
| |
surfZone () | |
Construct null.
| |
surfZone (const word &name, const label size, const label start, const label index, const word &geometricType=word::null) | |
Construct from components.
| |
surfZone (Istream &is, const label index) | |
Construct from Istream.
| |
surfZone (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary.
| |
surfZone (const surfZone &) | |
Construct as copy.
| |
surfZone (const surfZone &, const label index) | |
Construct from another zone, resetting the index.
| |
autoPtr< surfZone > | clone () const |
Return clone.
| |
label | start () const |
Return start label of this zone in the face list.
| |
label & | start () |
Return start label of this zone in the face list.
| |
label | size () const |
Return size of this zone in the face list.
| |
label & | size () |
Return size of this zone in the face list.
| |
void | write (Ostream &) const |
Write.
| |
void | writeDict (Ostream &) const |
Write dictionary.
| |
bool | operator!= (const surfZone &) const |
bool | operator== (const surfZone &) const |
compare.
| |
Static Public Member Functions | |
static autoPtr< surfZone > | New (Istream &is) |
Friends | |
Istream & | operator>> (Istream &, surfZone &) |
Ostream & | operator<< (Ostream &, const surfZone &) |
surfZone | ( | ) |
Construct null.
Definition at line 39 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 62 of file surfZone.C.
References 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 as copy.
Definition at line 88 of file surfZone.C.
Construct from another zone, resetting the index.
Definition at line 96 of file surfZone.C.
ClassName | ( | "surfZone" | ) |
Runtime type information.
Definition at line 121 of file surfZone.H.
References surfZoneIdentifier::name(), and surfZone::surfZone().
label start | ( | ) | const [inline]
|
Return start label of this zone in the face list.
Definition at line 133 of file surfZone.H.
Referenced by surfZone::operator==(), MeshedSurface< Face >::remapFaces(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Face >::subsetMesh(), and AC3DsurfaceFormat< Face >::write().
label& start | ( | ) | [inline]
|
Return start label of this zone in the face list.
Definition at line 139 of file surfZone.H.
label size | ( | ) | const [inline]
|
Return size of this zone in the face list.
Definition at line 145 of file surfZone.H.
Referenced by surfZone::operator==(), MeshedSurface< Face >::remapFaces(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Face >::subsetMesh(), and AC3DsurfaceFormat< Face >::write().
label& size | ( | ) | [inline]
|
Return size of this zone in the face list.
Definition at line 151 of file surfZone.H.
void write | ( | Ostream & | os ) | const |
Write.
Reimplemented from surfZoneIdentifier.
Definition at line 106 of file surfZone.C.
Referenced by Foam::operator<<().
void writeDict | ( | Ostream & | os ) | const |
Write dictionary.
Definition at line 112 of file surfZone.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, surfZoneIdentifier::write(), and Ostream::writeKeyword().
bool operator!= | ( | const surfZone & | rhs ) | const |
Definition at line 127 of file surfZone.C.
bool operator== | ( | const surfZone & | rhs ) | const |
compare.
Definition at line 133 of file surfZone.C.
References surfZoneIdentifier::geometricType(), surfZone::size(), and surfZone::start().