FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

genericPolyPatch Class Reference

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

#include <OpenFOAM/genericPolyPatch.H>


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 54 of file genericPolyPatch.H.

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.

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 43 of file genericPolyPatch.C.

Referenced by genericPolyPatch::clone().

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

Construct from dictionary.

Definition at line 56 of file genericPolyPatch.C.

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

Construct as copy, resetting the boundary mesh.

Definition at line 70 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 82 of file genericPolyPatch.C.

Definition at line 98 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 109 of file genericPolyPatch.H.

References genericPolyPatch::genericPolyPatch().

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 117 of file genericPolyPatch.H.

References genericPolyPatch::genericPolyPatch().

void write ( Ostream &   os  ) const [virtual]

Write the polyPatch data as a dictionary.

Reimplemented from polyPatch.

Definition at line 104 of file genericPolyPatch.C.

References token::END_STATEMENT, Foam::nl, patchIdentifier::write(), and Ostream::writeKeyword().


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