OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

localPointRegion Class Reference

Collaboration diagram for localPointRegion:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 73 of file localPointRegion.H.


Public Member Functions

 ClassName ("localPointRegion")
 Runtime type information.
 localPointRegion (const polyMesh &mesh, const labelList &pointsToBeDuplicated)
 Construct from mesh and points that should be separated.
label nRegions () const
 Global number of regions.
const labelList & meshFaces () const
 From local face addressing to mesh faces.
const Map< label > & localFaces () const
 From mesh face to local face.
const labelList & faceRegion () const
 Per local face the global region. Regions are not consecutive.
const labelListList & pointRegions () const
 Per pointsToBeDuplicated the list of regions.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.

Static Public Member Functions

static labelList findDuplicateFaces (const primitiveMesh &, const labelList &)
 Helper routine to find baffles (two boundary faces using the.
static bool isSingleCellRegion (const primitiveMesh &mesh, const label pointI)
 Are all the cells using pointI reachable through (processor.

Constructor & Destructor Documentation

localPointRegion ( const polyMesh &  mesh,
const labelList &  pointsToBeDuplicated 
)

Construct from mesh and points that should be separated.


Member Function Documentation

ClassName ( "localPointRegion"   ) 

Runtime type information.

static labelList findDuplicateFaces ( const primitiveMesh &  ,
const labelList &   
) [static]

Helper routine to find baffles (two boundary faces using the.

same points but in reverse order) Gets list of (boundary!) faces to check. Returns labelList of same size as the input list with -1 or index of other face in the input list. Does not handle duplicate faces on both sides of processor patch

static bool isSingleCellRegion ( const primitiveMesh &  mesh,
const label  pointI 
) [static]

Are all the cells using pointI reachable through (processor.

local) cell-face-cell walk.

label nRegions (  )  const [inline]

Global number of regions.

Definition at line 209 of file localPointRegion.H.

const labelList& meshFaces (  )  const [inline]

From local face addressing to mesh faces.

Definition at line 215 of file localPointRegion.H.

const Map<label>& localFaces (  )  const [inline]

From mesh face to local face.

Definition at line 221 of file localPointRegion.H.

const labelList& faceRegion (  )  const [inline]

Per local face the global region. Regions are not consecutive.

per processor. They will be -1..nRegions_.

Definition at line 230 of file localPointRegion.H.

const labelListList& pointRegions (  )  const [inline]

Per pointsToBeDuplicated the list of regions.

Definition at line 236 of file localPointRegion.H.

void updateMesh ( const mapPolyMesh &   ) 

Force recalculation of locally stored data on topological change.


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