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

genericPolyPatch Class Reference

Determines a mapping between patch face centres and mesh cell centres and processors they're on. More...

Inheritance diagram for genericPolyPatch:
Collaboration diagram for genericPolyPatch:

List of all members.


Public Member Functions

 TypeName ("genericPatch")
 Runtime type information.
 genericPolyPatch (const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm)
 Construct from components.
 genericPolyPatch (const word &name, const dictionary &dict, const label index, const polyBoundaryMesh &bm)
 Construct from dictionary.
 genericPolyPatch (const genericPolyPatch &, const polyBoundaryMesh &)
 Construct as copy, resetting the boundary mesh.
 genericPolyPatch (const genericPolyPatch &pp, const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart)
 Construct given the original patch and resetting the.
virtual autoPtr< polyPatch > clone (const polyBoundaryMesh &bm) const
 Construct and return a clone, resetting the boundary mesh.
virtual autoPtr< polyPatch > clone (const polyBoundaryMesh &bm, const label index, const label newSize, const label newStart) const
 Construct and return a clone, resetting the face list.
 ~genericPolyPatch ()
virtual void write (Ostream &) const
 Write the polyPatch data as a dictionary.

Detailed Description

Determines a mapping between patch face centres and mesh cell centres and processors they're on.

Note:
Storage is not optimal. It stores all face centres and cells on all processors to keep the addressing calculation simple.
Source files

Definition at line 49 of file genericPolyPatch.H.


Constructor & Destructor Documentation

genericPolyPatch ( const word &  name,
const label  size,
const label  start,
const label  index,
const polyBoundaryMesh &  bm 
)

Construct from components.

Definition at line 35 of file genericPolyPatch.C.

Referenced by genericPolyPatch::clone().

Here is the caller graph for this function:

genericPolyPatch ( const word &  name,
const dictionary &  dict,
const label  index,
const polyBoundaryMesh &  bm 
)

Construct from dictionary.

Definition at line 48 of file genericPolyPatch.C.

genericPolyPatch ( const genericPolyPatch &  pp,
const polyBoundaryMesh &  bm 
)

Construct as copy, resetting the boundary mesh.

Definition at line 62 of file genericPolyPatch.C.

genericPolyPatch ( const genericPolyPatch &  pp,
const polyBoundaryMesh &  bm,
const label  index,
const label  newSize,
const label  newStart 
)

Construct given the original patch and resetting the.

face list and boundary mesh information

Definition at line 74 of file genericPolyPatch.C.

~genericPolyPatch (  ) 

Definition at line 90 of file genericPolyPatch.C.


Member Function Documentation

TypeName ( "genericPatch"   ) 

Runtime type information.

virtual autoPtr<polyPatch> clone ( const polyBoundaryMesh &  bm  )  const [inline, virtual]

Construct and return a clone, resetting the boundary mesh.

Reimplemented from polyPatch.

Definition at line 106 of file genericPolyPatch.H.

virtual autoPtr<polyPatch> clone ( const polyBoundaryMesh &  bm,
const label  index,
const label  newSize,
const label  newStart 
) const [inline, virtual]

Construct and return a clone, resetting the face list.

and boundary mesh

Reimplemented from polyPatch.

Definition at line 116 of file genericPolyPatch.H.

References genericPolyPatch::genericPolyPatch().

Here is the call graph for this function:

void write ( Ostream &  os  )  const [virtual]

Write the polyPatch data as a dictionary.

Reimplemented from polyPatch.

Definition at line 96 of file genericPolyPatch.C.


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