Public Member Functions | Static Public Member Functions | Friends | List of all members
surfZone Class Reference

A surface zone on a MeshedSurface. More...

Inheritance diagram for surfZone:
Inheritance graph
[legend]
Collaboration diagram for surfZone:
Collaboration graph
[legend]

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< surfZoneclone () const
 Return clone. More...
 
label start () const
 Return start label of this zone in the face list. More...
 
labelstart ()
 Return start label of this zone in the face list. More...
 
label size () const
 Return size of this zone in the face list. More...
 
labelsize ()
 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 wordname () const
 Return name. More...
 
wordname ()
 Return name for modification. More...
 
const wordgeometricType () const
 Return the geometric type of the zone. More...
 
wordgeometricType ()
 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< surfZoneNew (Istream &is)
 

Friends

Istreamoperator>> (Istream &, surfZone &)
 
Ostreamoperator<< (Ostream &, const surfZone &)
 

Detailed Description

A surface zone on a MeshedSurface.

Similar in concept to a faceZone, but the face list is contiguous.

Source files

Definition at line 62 of file surfZone.H.

Constructor & Destructor Documentation

surfZone ( )

Construct null.

Definition at line 40 of file surfZone.C.

Referenced by surfZone::New(), Foam::operator>>(), and surfZone::surfZone().

Here is the caller graph for this function:

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.

surfZone ( Istream is,
const label  index 
)

Construct from Istream.

Definition at line 63 of file surfZone.C.

References dict, surfZoneIdentifier::name(), and surfZone::surfZone().

Here is the call graph for this function:

surfZone ( const word name,
const dictionary dict,
const label  index 
)

Construct from dictionary.

Definition at line 77 of file surfZone.C.

surfZone ( const surfZone zone)

Construct as copy.

Definition at line 89 of file surfZone.C.

surfZone ( const surfZone zone,
const label  index 
)

Construct from another zone, resetting the index.

Definition at line 97 of file surfZone.C.

Member Function Documentation

ClassName ( "surfZone"  )

Runtime type information.

autoPtr<surfZone> clone ( ) const
inline

Return clone.

Definition at line 114 of file surfZone.H.

References notImplemented.

static autoPtr<surfZone> New ( Istream is)
inlinestatic

Definition at line 120 of file surfZone.H.

References dict, surfZoneIdentifier::name(), and surfZone::surfZone().

Here is the call graph for this function:

label start ( ) const
inline

Return start label of this zone in the face list.

Definition at line 132 of file surfZone.H.

Referenced by surfZone::operator==(), MeshedSurface< Face >::remapFaces(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Face >::subsetMesh(), AC3DsurfaceFormat< Face >::write(), and surfZone::writeDict().

Here is the caller graph for this function:

label& start ( )
inline

Return start label of this zone in the face list.

Definition at line 138 of file surfZone.H.

label size ( ) const
inline

Return size of this zone in the face list.

Definition at line 144 of file surfZone.H.

Referenced by surfZone::operator==(), MeshedSurface< Face >::remapFaces(), UnsortedMeshedSurface< Face >::setZones(), MeshedSurface< Face >::subsetMesh(), AC3DsurfaceFormat< Face >::write(), and surfZone::writeDict().

Here is the caller graph for this function:

label& size ( )
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().

Here is the call graph for this function:

void write ( Ostream os) const

Write.

Definition at line 107 of file surfZone.C.

References surfZone::writeDict().

Referenced by Foam::operator<<(), and surfZone::size().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const surfZone rhs) const

Definition at line 128 of file surfZone.C.

Referenced by surfZone::size().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

Istream& operator>> ( Istream ,
surfZone  
)
friend

Referenced by surfZone::size().

Ostream& operator<< ( Ostream ,
const surfZone  
)
friend

Referenced by surfZone::size().


The documentation for this class was generated from the following files: