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

repatchPolyTopoChanger Class Reference

A mesh which allows changes in the patch distribution of the boundary faces. The change in patching is set using changePatchID. For a boundary face, a new patch ID is given. More...

Collaboration diagram for repatchPolyTopoChanger:

List of all members.


Public Member Functions

 repatchPolyTopoChanger (polyMesh &mesh)
 Construct for given mesh.
virtual ~repatchPolyTopoChanger ()
void changePatches (const List< polyPatch * > &patches)
 Change patches.
void changePatchID (const label faceID, const label patchID)
 Change patch ID for a boundary face. Note: patchID should be in new.
void setFaceZone (const label faceID, const label zoneID, const bool zoneFlip)
 Set zone ID for a face.
void changeAnchorPoint (const label faceID, const label fp)
 Change anchor point (zero'th point of face) for a boundary face.
void repatch ()
 Re-patch the mesh.

Detailed Description

A mesh which allows changes in the patch distribution of the boundary faces. The change in patching is set using changePatchID. For a boundary face, a new patch ID is given.

Source files

Definition at line 47 of file repatchPolyTopoChanger.H.


Constructor & Destructor Documentation

repatchPolyTopoChanger ( polyMesh &  mesh  )  [explicit]

Construct for given mesh.

Definition at line 45 of file repatchPolyTopoChanger.C.

virtual ~repatchPolyTopoChanger (  )  [inline, virtual]

Definition at line 80 of file repatchPolyTopoChanger.H.


Member Function Documentation

void changePatches ( const List< polyPatch * > &  patches  ) 

Change patches.

Definition at line 55 of file repatchPolyTopoChanger.C.

void changePatchID ( const label  faceID,
const label  patchID 
)

Change patch ID for a boundary face. Note: patchID should be in new.

numbering.

Definition at line 75 of file repatchPolyTopoChanger.C.

void setFaceZone ( const label  faceID,
const label  zoneID,
const bool  zoneFlip 
)

Set zone ID for a face.

Definition at line 134 of file repatchPolyTopoChanger.C.

void changeAnchorPoint ( const label  faceID,
const label  fp 
)

Change anchor point (zero'th point of face) for a boundary face.

Definition at line 178 of file repatchPolyTopoChanger.C.

void repatch (  ) 

Re-patch the mesh.

Definition at line 288 of file repatchPolyTopoChanger.C.


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