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

surfZoneIdentifier Class Reference

An identifier for a surface zone on a meshed surface. More...

Inheritance diagram for surfZoneIdentifier:
Collaboration diagram for surfZoneIdentifier:

List of all members.


Public Member Functions

 surfZoneIdentifier ()
 Construct null.
 surfZoneIdentifier (const word &name, const label index, const word &geometricType=word::null)
 Construct from components.
 surfZoneIdentifier (const word &name, const dictionary &, const label index)
 Construct from dictionary.
 surfZoneIdentifier (const surfZoneIdentifier &, const label index)
 Construct from another zone identifier, resetting the index.
virtual ~surfZoneIdentifier ()
const word & name () const
 Return name.
word & name ()
 Return name for modification.
const word & geometricType () const
 Return the geometric type of the zone.
word & geometricType ()
 Return the geometric type of the zone for modification.
label index () const
 Return the index of this zone in the surface mesh.
void write (Ostream &) const
 Write surfZoneIdentifier as a dictionary.

Friends

Ostream & operator<< (Ostream &, const surfZoneIdentifier &)
 Write surfZoneIdentifier as a dictionary.

Detailed Description

An identifier for a surface zone on a meshed surface.

Similar in concept to a faceZone on the surface, but can also have a "geometricType" as well.

Source files

Definition at line 56 of file surfZoneIdentifier.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 23 of file surfZoneIdentifier.C.

surfZoneIdentifier ( const word &  name,
const label  index,
const word &  geometricType = word::null 
)

Construct from components.

Definition at line 32 of file surfZoneIdentifier.C.

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

Construct from dictionary.

Definition at line 45 of file surfZoneIdentifier.C.

surfZoneIdentifier ( const surfZoneIdentifier &  p,
const label  index 
)

Construct from another zone identifier, resetting the index.

Definition at line 59 of file surfZoneIdentifier.C.

References dictionary::readIfPresent().

Here is the call graph for this function:

~surfZoneIdentifier (  )  [virtual]

Definition at line 72 of file surfZoneIdentifier.C.


Member Function Documentation

const word& name (  )  const [inline]

Return name.

Definition at line 110 of file surfZoneIdentifier.H.

word& name (  )  [inline]

Return name for modification.

Definition at line 116 of file surfZoneIdentifier.H.

const word& geometricType (  )  const [inline]

Return the geometric type of the zone.

Definition at line 122 of file surfZoneIdentifier.H.

word& geometricType (  )  [inline]

Return the geometric type of the zone for modification.

Definition at line 128 of file surfZoneIdentifier.H.

label index (  )  const [inline]

Return the index of this zone in the surface mesh.

Definition at line 134 of file surfZoneIdentifier.H.

void write ( Ostream &  os  )  const

Write surfZoneIdentifier as a dictionary.

Reimplemented in surfZone.

Definition at line 79 of file surfZoneIdentifier.C.

Referenced by Foam::operator<<().

Here is the caller graph for this function:


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  ,
const surfZoneIdentifier &   
) [friend]

Write surfZoneIdentifier as a dictionary.

void writeDict(Ostream&) const;


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd