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

geometricSurfacePatch Class Reference

The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index. More...

Inheritance diagram for geometricSurfacePatch:
Collaboration diagram for geometricSurfacePatch:

List of all members.


Public Member Functions

 ClassName ("geometricSurfacePatch")
 Runtime type information.
 geometricSurfacePatch ()
 Construct null.
 geometricSurfacePatch (const word &geometricType, const word &name, const label index)
 Construct from components.
 geometricSurfacePatch (Istream &, const label index)
 Construct from Istream.
 geometricSurfacePatch (const word &name, const dictionary &dict, const label index)
 Construct from dictionary.
const word & name () const
 Return name.
word & name ()
 Return name.
const word & geometricType () const
 Return the type of the patch.
word & geometricType ()
 Return the type of the patch.
label index () const
 Return the index of this patch in the boundaryMesh.
void write (Ostream &) const
 Write.
void writeDict (Ostream &) const
 Write dictionary.
bool operator!= (const geometricSurfacePatch &) const
bool operator== (const geometricSurfacePatch &) const
 compare.

Friends

Ostream & operator<< (Ostream &, const geometricSurfacePatch &)
Istream & operator>> (Istream &, geometricSurfacePatch &)

Detailed Description

The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index.

Source files

Definition at line 49 of file geometricSurfacePatch.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 33 of file geometricSurfacePatch.C.

References Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

geometricSurfacePatch ( const word &  geometricType,
const word &  name,
const label  index 
)

Construct from components.

Definition at line 43 of file geometricSurfacePatch.C.

geometricSurfacePatch ( Istream &  is,
const label  index 
)

Construct from Istream.

Definition at line 62 of file geometricSurfacePatch.C.

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

Construct from dictionary.

Definition at line 77 of file geometricSurfacePatch.C.


Member Function Documentation

ClassName ( "geometricSurfacePatch"   ) 

Runtime type information.

const word& name (  )  const [inline]

Return name.

Definition at line 96 of file geometricSurfacePatch.H.

word& name (  )  [inline]

Return name.

Definition at line 102 of file geometricSurfacePatch.H.

const word& geometricType (  )  const [inline]

Return the type of the patch.

Definition at line 108 of file geometricSurfacePatch.H.

word& geometricType (  )  [inline]

Return the type of the patch.

Definition at line 114 of file geometricSurfacePatch.H.

label index (  )  const [inline]

Return the index of this patch in the boundaryMesh.

Definition at line 120 of file geometricSurfacePatch.H.

void write ( Ostream &  os  )  const

Write.

Reimplemented in surfacePatch.

Definition at line 97 of file geometricSurfacePatch.C.

void writeDict ( Ostream &  os  )  const

Write dictionary.

Reimplemented in surfacePatch.

Definition at line 104 of file geometricSurfacePatch.C.

References Foam::nl.

bool operator!= ( const geometricSurfacePatch &  p  )  const

Definition at line 112 of file geometricSurfacePatch.C.

References Foam::nl.

bool operator== ( const geometricSurfacePatch &  p  )  const

compare.

Definition at line 119 of file geometricSurfacePatch.C.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  os,
const geometricSurfacePatch &  gp 
) [friend]

Definition at line 140 of file geometricSurfacePatch.C.

Istream& operator>> ( Istream &  is,
geometricSurfacePatch &  gp 
) [friend]

Definition at line 132 of file geometricSurfacePatch.C.


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