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

boundaryPatch Class Reference

Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in boundaryMesh to hold data on patches. More...

Inheritance diagram for boundaryPatch:
Collaboration diagram for boundaryPatch:

List of all members.


Public Member Functions

 boundaryPatch (const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
 Construct from components.
 boundaryPatch (const word &name, const dictionary &dict, const label index)
 Construct from dictionary.
 boundaryPatch (const boundaryPatch &)
 Construct as copy.
 boundaryPatch (const boundaryPatch &, const label index)
 Construct as copy, resetting the index.
autoPtr< boundaryPatch > clone () const
 Clone.
 ~boundaryPatch ()
label size () const
label & size ()
label start () const
label & start ()
virtual void write (Ostream &) const
 Write dictionary.

Friends

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

Detailed Description

Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in boundaryMesh to hold data on patches.

Source files

Definition at line 46 of file boundaryPatch.H.


Constructor & Destructor Documentation

boundaryPatch ( const word &  name,
const label  index,
const label  size,
const label  start,
const word &  physicalType = word::null 
)

Construct from components.

Definition at line 25 of file boundaryPatch.C.

Referenced by boundaryPatch::~boundaryPatch().

Here is the caller graph for this function:

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

Construct from dictionary.

Definition at line 40 of file boundaryPatch.C.

boundaryPatch ( const boundaryPatch &  p  ) 

Construct as copy.

Definition at line 52 of file boundaryPatch.C.

boundaryPatch ( const boundaryPatch &  p,
const label  index 
)

Construct as copy, resetting the index.

Definition at line 60 of file boundaryPatch.C.

~boundaryPatch (  ) 

Definition at line 76 of file boundaryPatch.C.

References boundaryPatch::boundaryPatch().

Here is the call graph for this function:


Member Function Documentation

Foam::autoPtr< Foam::boundaryPatch > clone (  )  const

Clone.

Definition at line 68 of file boundaryPatch.C.

label size (  )  const [inline]

Definition at line 94 of file boundaryPatch.H.

label& size (  )  [inline]

Definition at line 99 of file boundaryPatch.H.

label start (  )  const [inline]

Definition at line 104 of file boundaryPatch.H.

label& start (  )  [inline]

Definition at line 109 of file boundaryPatch.H.

void write ( Ostream &  os  )  const [virtual]

Write dictionary.

Reimplemented from patchIdentifier.

Definition at line 82 of file boundaryPatch.C.


Friends And Related Function Documentation

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


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