Public Member Functions | Friends | List of all members
surfacePatch Class Reference

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

Inheritance diagram for surfacePatch:
Inheritance graph
[legend]
Collaboration diagram for surfacePatch:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("surfacePatch")
 Runtime type information. More...
 
 surfacePatch ()
 Construct null. More...
 
 surfacePatch (const word &geometricType, const word &name, const label size, const label start, const label index)
 Construct from components. More...
 
 surfacePatch (Istream &is, const label index)
 Construct from Istream. More...
 
 surfacePatch (const word &name, const dictionary &dict, const label index)
 Construct from dictionary. More...
 
 surfacePatch (const surfacePatch &)
 Construct as copy. More...
 
label start () const
 Return start label of this patch in the polyMesh face list. More...
 
labelstart ()
 Return start label of this patch in the polyMesh face list. More...
 
label size () const
 Return size of this patch in the polyMesh face list. More...
 
labelsize ()
 Return size of this patch in the polyMesh face list. More...
 
void write (Ostream &) const
 Write. More...
 
void writeDict (Ostream &) const
 Write dictionary. More...
 
bool operator!= (const surfacePatch &) const
 
bool operator== (const surfacePatch &) const
 compare. More...
 
- Public Member Functions inherited from geometricSurfacePatch
 ClassName ("geometricSurfacePatch")
 Runtime type information. More...
 
 geometricSurfacePatch ()
 Construct null. More...
 
 geometricSurfacePatch (const word &geometricType, const word &name, const label index)
 Construct from components. More...
 
 geometricSurfacePatch (Istream &, const label index)
 Construct from Istream. More...
 
 geometricSurfacePatch (const word &name, const dictionary &dict, const label index)
 Construct from dictionary. More...
 
const wordname () const
 Return name. More...
 
wordname ()
 Return name. More...
 
const wordgeometricType () const
 Return the type of the patch. More...
 
wordgeometricType ()
 Return the type of the patch. More...
 
label index () const
 Return the index of this patch in the boundaryMesh. More...
 
labelindex ()
 Return the index of this patch in the boundaryMesh. More...
 
void write (Ostream &) const
 Write. More...
 
void writeDict (Ostream &) const
 Write dictionary. More...
 
bool operator!= (const geometricSurfacePatch &) const
 
bool operator== (const geometricSurfacePatch &) const
 compare. More...
 

Friends

Ostreamoperator<< (Ostream &, const surfacePatch &)
 

Detailed Description

'Patch' on surface as subset of triSurface.

Source files

Definition at line 51 of file surfacePatch.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 41 of file surfacePatch.C.

Referenced by surfacePatch::surfacePatch().

Here is the caller graph for this function:

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

Construct from components.

Definition at line 52 of file surfacePatch.C.

surfacePatch ( Istream is,
const label  index 
)

Construct from Istream.

Definition at line 67 of file surfacePatch.C.

References Foam::readLabel(), and surfacePatch::surfacePatch().

Here is the call graph for this function:

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

Construct from dictionary.

Definition at line 79 of file surfacePatch.C.

surfacePatch ( const surfacePatch sp)

Construct as copy.

Definition at line 92 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 102 of file surfacePatch.H.

Referenced by triSurface::checkEdges(), surfacePatch::operator==(), surfacePatch::write(), and 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 108 of file surfacePatch.H.

label size ( ) const
inline

Return size of this patch in the polyMesh face list.

Definition at line 114 of file surfacePatch.H.

Referenced by triSurface::checkEdges(), surfacePatch::operator==(), surfacePatch::write(), and 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 120 of file surfacePatch.H.

References surfacePatch::operator!=(), surfacePatch::operator<<, surfacePatch::operator==(), surfacePatch::write(), and surfacePatch::writeDict().

Here is the call graph for this function:

void write ( Ostream os) const

Write.

Definition at line 102 of file surfacePatch.C.

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

Referenced by surfacePatch::operator==(), and surfacePatch::size().

Here is the call graph for this function:

Here is the caller graph for this function:

void writeDict ( Ostream os) const

Write dictionary.

Definition at line 109 of file surfacePatch.C.

References token::BEGIN_BLOCK, token::END_BLOCK, Foam::endl(), geometricSurfacePatch::name(), Foam::nl, surfacePatch::size(), surfacePatch::start(), and geometricSurfacePatch::writeDict().

Referenced by surfacePatch::size().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const surfacePatch p) const

Definition at line 123 of file surfacePatch.C.

References p.

Referenced by surfacePatch::size().

Here is the caller graph for this function:

bool operator== ( const surfacePatch p) const

compare.

Definition at line 129 of file surfacePatch.C.

References IOstream::check(), geometricSurfacePatch::geometricType(), Foam::operator<<(), p, surfacePatch::size(), surfacePatch::start(), and surfacePatch::write().

Referenced by surfacePatch::size().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

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

Referenced by surfacePatch::size().


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