OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

surfZone Class Reference

A surface zone on a MeshedSurface. More...

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

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


Constructor & Destructor Documentation

surfZone (  ) 

Construct null.

Definition at line 32 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 41 of file surfZone.C.

surfZone ( Istream &  is,
const label  index 
)

Construct from Istream.

Definition at line 55 of file surfZone.C.

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

Construct from dictionary.

Definition at line 69 of file surfZone.C.

surfZone ( const surfZone &  zone  ) 

Construct as copy.

Definition at line 81 of file surfZone.C.

surfZone ( const surfZone &  zone,
const label  index 
)

Construct from another zone, resetting the index.

Definition at line 89 of file surfZone.C.


Member Function Documentation

ClassName ( "surfZone"   ) 

Runtime type information.

autoPtr<surfZone> clone (  )  const [inline]

Return clone.

Definition at line 110 of file surfZone.H.

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

Definition at line 116 of file surfZone.H.

References notImplemented.

label start (  )  const [inline]

Return start label of this zone in the face list.

Definition at line 128 of file surfZone.H.

Referenced by MeshedSurface< Face >::remapFaces().

Here is the caller graph for this function:

label& start (  )  [inline]

Return start label of this zone in the face list.

Definition at line 134 of file surfZone.H.

label size (  )  const [inline]

Return size of this zone in the face list.

Definition at line 140 of file surfZone.H.

Referenced by MeshedSurface< Face >::remapFaces().

Here is the caller graph for this function:

label& size (  )  [inline]

Return size of this zone in the face list.

Definition at line 146 of file surfZone.H.

void write ( Ostream &  os  )  const

Write.

Reimplemented from surfZoneIdentifier.

Definition at line 99 of file surfZone.C.

void writeDict ( Ostream &  os  )  const

Write dictionary.

Definition at line 105 of file surfZone.C.

bool operator!= ( const surfZone &  rhs  )  const

Definition at line 120 of file surfZone.C.

bool operator== ( const surfZone &  rhs  )  const

compare.

Definition at line 126 of file surfZone.C.


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:
Copyright © 2000-2009 OpenCFD Ltd