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 &) | |
Construct as copy. 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(), Foam::operator>>(), 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 49 of file surfZone.C.
Construct from Istream.
Definition at line 63 of file surfZone.C.
References dict, surfZoneIdentifier::name(), and surfZone::surfZone().
surfZone | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Construct from dictionary.
Definition at line 77 of file surfZone.C.
Construct as copy.
Definition at line 89 of file surfZone.C.
Construct from another zone, resetting the index.
Definition at line 97 of file surfZone.C.
ClassName | ( | "surfZone" | ) |
Runtime type information.
Definition at line 120 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 132 of file surfZone.H.
Referenced by surfZone::operator==(), MeshedSurface< Foam::face >::remapFaces(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Foam::face >::subsetMesh(), AC3DsurfaceFormat< Face >::write(), and surfZone::writeDict().
|
inline |
Return start label of this zone in the face list.
Definition at line 138 of file surfZone.H.
|
inline |
Return size of this zone in the face list.
Definition at line 144 of file surfZone.H.
Referenced by surfZone::operator==(), MeshedSurface< Foam::face >::remapFaces(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Foam::face >::subsetMesh(), AC3DsurfaceFormat< Face >::write(), and surfZone::writeDict().
|
inline |
Return size of this zone in the face list.
Definition at line 150 of file surfZone.H.
References surfZone::operator!=(), surfZone::operator<<, surfZone::operator==(), surfZone::operator>>, surfZone::write(), and surfZone::writeDict().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 107 of file surfZone.C.
References surfZone::writeDict().
Referenced by Foam::operator<<(), and surfZone::size().
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 113 of file surfZone.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::incrIndent(), Foam::indent(), surfZoneIdentifier::name(), Foam::nl, surfZone::size(), surfZone::start(), surfZoneIdentifier::write(), and Ostream::writeKeyword().
Referenced by surfZone::size(), and surfZone::write().
bool operator!= | ( | const surfZone & | rhs | ) | const |
Definition at line 128 of file surfZone.C.
Referenced by surfZone::size().
bool operator== | ( | const surfZone & | rhs | ) | const |
compare.
Definition at line 134 of file surfZone.C.
References surfZoneIdentifier::geometricType(), surfZone::size(), and surfZone::start().
Referenced by surfZone::size().
Referenced by surfZone::size().
Referenced by surfZone::size().