FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

A surface zone on a MeshedSurface. More...

#include <surfMesh/surfZone.H>


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 63 of file surfZone.H.

Inheritance diagram for surfZone:
Collaboration diagram for surfZone:

List of all members.

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 &)

Constructor & Destructor Documentation

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.

surfZone ( Istream &   is,
const label   index  
)

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.

surfZone ( const surfZone &   zone  )

Construct as copy.

Definition at line 88 of file surfZone.C.

surfZone ( const surfZone &   zone,
const label   index  
)

Construct from another zone, resetting the index.

Definition at line 96 of file surfZone.C.


Member Function Documentation

ClassName ( "surfZone"    )

Runtime type information.

autoPtr<surfZone> clone (  ) const [inline]

Return clone.

Definition at line 115 of file surfZone.H.

References notImplemented.

static autoPtr<surfZone> New ( Istream &   is  ) [inline, static]

Definition at line 121 of file surfZone.H.

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

label start (  ) const [inline]
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]
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<<().

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


Friends And Related Function Documentation

Istream& operator>> ( Istream &   ,
surfZone &    
) [friend]
Ostream& operator<< ( Ostream &   ,
const surfZone &    
) [friend]

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