A surface zone on a MeshedSurface. More...
Public Member Functions | |
ClassName ("surfZone") | |
Runtime type information. More... | |
surfZone () | |
Construct null 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 (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... | |
labelRange | range () const |
Return start/size range of this zone. 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, with index zero. More... | |
surfZoneIdentifier (const label index) | |
Construct null with specified index. More... | |
surfZoneIdentifier (const word &name, const label index, const word &geometricType=word::null) | |
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 from another zone identifier, resetting the index. More... | |
virtual | ~surfZoneIdentifier ()=default |
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 patch/zone. More... | |
word & | geometricType () |
Return the geometric type of the patch/zone for modification. More... | |
label | index () const |
Return the index of this patch/zone in the surface mesh. More... | |
label & | index () |
Return the index of this patch/zone for modification. More... | |
void | write (Ostream &os) const |
Write identifier as a dictionary. More... | |
Static Public Member Functions | |
static autoPtr< surfZone > | New (Istream &is) |
Friends | |
Istream & | operator>> (Istream &, surfZone &) |
Ostream & | operator<< (Ostream &, const surfZone &) |
Additional Inherited Members | |
Static Public Attributes inherited from surfZoneIdentifier | |
static const word | 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 65 of file surfZone.H.
surfZone | ( | ) |
Construct null with zero start, size, index.
Definition at line 43 of file surfZone.C.
Referenced by surfZone::surfZone().
Construct with name, size. With zero start, index.
Definition at line 51 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 60 of file surfZone.C.
Construct from Istream.
Definition at line 74 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 88 of file surfZone.C.
Construct as copy.
Definition at line 100 of file surfZone.C.
Construct from another zone, resetting the index.
Definition at line 108 of file surfZone.C.
ClassName | ( | "surfZone" | ) |
Runtime type information.
Definition at line 126 of file surfZone.H.
References dict, surfZoneIdentifier::name(), and autoPtr< T >::New().
|
inline |
Return start label of this zone in the face list.
Definition at line 138 of file surfZone.H.
Referenced by surfZone::operator==(), discreteSurface::setZoneMap(), and sampledTriSurfaceMesh::setZoneMap().
|
inline |
Return start label of this zone in the face list.
Definition at line 144 of file surfZone.H.
|
inline |
Return size of this zone in the face list.
Definition at line 150 of file surfZone.H.
Referenced by surfZone::operator==(), discreteSurface::setZoneMap(), and sampledTriSurfaceMesh::setZoneMap().
|
inline |
Return size of this zone in the face list.
Definition at line 156 of file surfZone.H.
|
inline |
Return start/size range of this zone.
Definition at line 162 of file surfZone.H.
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 118 of file surfZone.C.
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 124 of file surfZone.C.
References Ostream::beginBlock(), Ostream::endBlock(), Foam::name(), Foam::start, surfZoneIdentifier::write(), and Ostream::writeEntry().
Definition at line 138 of file surfZone.C.
compare.
Definition at line 144 of file surfZone.C.
References surfZoneIdentifier::geometricType(), surfZone::size(), surfZone::start(), and Foam::start.