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(), 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 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==(), 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 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==(), 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 147 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 99 of file surfZone.C.
References surfZone::writeDict().
Referenced by Foam::operator<<(), and surfZone::size().
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(), surfZoneIdentifier::name(), Foam::nl, surfZone::size(), surfZone::start(), surfZoneIdentifier::write(), and Foam::writeEntry().
Referenced by surfZone::size(), and surfZone::write().
Definition at line 120 of file surfZone.C.
Referenced by surfZone::size().
compare.
Definition at line 126 of file surfZone.C.
References surfZoneIdentifier::geometricType(), surfZone::size(), and surfZone::start().
Referenced by surfZone::size().
Referenced by surfZone::size().
Referenced by surfZone::size().