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

surfacePatch Class Reference

'Patch' on surface as subset of triSurface. More...

Inheritance diagram for surfacePatch:
Collaboration diagram for surfacePatch:

List of all members.


Public Member Functions

 ClassName ("surfacePatch")
 Runtime type information.
 surfacePatch ()
 Construct null.
 surfacePatch (const word &geometricType, const word &name, const label size, const label start, const label index)
 Construct from components.
 surfacePatch (Istream &is, const label index)
 Construct from Istream.
 surfacePatch (const word &name, const dictionary &dict, const label index)
 Construct from dictionary.
 surfacePatch (const surfacePatch &)
 Construct as copy.
label start () const
 Return start label of this patch in the polyMesh face list.
label & start ()
 Return start label of this patch in the polyMesh face list.
label size () const
 Return size of this patch in the polyMesh face list.
label & size ()
 Return size of this patch in the polyMesh face list.
void write (Ostream &) const
 Write.
void writeDict (Ostream &) const
 Write dictionary.
bool operator!= (const surfacePatch &) const
bool operator== (const surfacePatch &) const
 compare.

Friends

Ostream & operator<< (Ostream &, const surfacePatch &)

Detailed Description

'Patch' on surface as subset of triSurface.

Source files

Definition at line 47 of file surfacePatch.H.


Constructor & Destructor Documentation

surfacePatch (  ) 

Construct null.

Definition at line 34 of file surfacePatch.C.

surfacePatch ( const word &  geometricType,
const word &  name,
const label  size,
const label  start,
const label  index 
)

Construct from components.

Definition at line 45 of file surfacePatch.C.

surfacePatch ( Istream &  is,
const label  index 
)

Construct from Istream.

Definition at line 60 of file surfacePatch.C.

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

Construct from dictionary.

Definition at line 72 of file surfacePatch.C.

surfacePatch ( const surfacePatch &  sp  ) 

Construct as copy.

Definition at line 85 of file surfacePatch.C.


Member Function Documentation

ClassName ( "surfacePatch"   ) 

Runtime type information.

label start (  )  const [inline]

Return start label of this patch in the polyMesh face list.

Definition at line 98 of file surfacePatch.H.

Referenced by surfacePatch::writeDict().

Here is the caller graph for this function:

label& start (  )  [inline]

Return start label of this patch in the polyMesh face list.

Definition at line 104 of file surfacePatch.H.

label size (  )  const [inline]

Return size of this patch in the polyMesh face list.

Definition at line 110 of file surfacePatch.H.

Referenced by surfacePatch::writeDict().

Here is the caller graph for this function:

label& size (  )  [inline]

Return size of this patch in the polyMesh face list.

Definition at line 116 of file surfacePatch.H.

void write ( Ostream &  os  )  const

Write.

Reimplemented from geometricSurfacePatch.

Definition at line 95 of file surfacePatch.C.

void writeDict ( Ostream &  os  )  const

Write dictionary.

Reimplemented from geometricSurfacePatch.

Definition at line 102 of file surfacePatch.C.

References Foam::endl(), Foam::nl, surfacePatch::size(), surfacePatch::start(), and Foam::tab.

Here is the call graph for this function:

bool operator!= ( const surfacePatch &  p  )  const

Definition at line 116 of file surfacePatch.C.

bool operator== ( const surfacePatch &  p  )  const

compare.

Definition at line 122 of file surfacePatch.C.


Friends And Related Function Documentation

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


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