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

cellToFaceStencil Class Reference

baseclass for extended cell-to-facel stencils (face values from neighbouring cells) More...

Inheritance diagram for cellToFaceStencil:
Collaboration diagram for cellToFaceStencil:

List of all members.


Classes

class  unionEqOp
 Combine operator for labelLists. More...

Public Member Functions

 cellToFaceStencil (const polyMesh &)
 Construct from mesh.
const polyMeshmesh () const
const globalIndexglobalNumbering () const
 Global numbering for cells and boundary faces.

Protected Member Functions

void validBoundaryFaces (boolList &isValidBFace) const
 Valid boundary faces (not empty and not coupled).
autoPtr< indirectPrimitivePatchallCoupledFacesPatch () const
 Return patch of all coupled faces.
void insertFaceCells (const label exclude0, const label exclude1, const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
 Collect cell neighbours of faces in global numbering.
labelList calcFaceCells (const boolList &nonEmptyFace, const labelList &faceLabels, labelHashSet &globals) const
 Collect cell neighbours of faces in global numbering.
void calcFaceStencil (const labelListList &globalCellCells, labelListList &faceStencil) const
 Collect cell neighbours into extended stencil.

Static Protected Member Functions

static void merge (const label, const label, const labelList &, labelList &)
 Merge two lists.
static void merge (const label, const labelList &, labelList &)
 Merge two lists.

Detailed Description

baseclass for extended cell-to-facel stencils (face values from neighbouring cells)

Source files

Definition at line 50 of file cellToFaceStencil.H.


Constructor & Destructor Documentation

cellToFaceStencil ( const polyMesh mesh  )  [explicit]

Construct from mesh.

Definition at line 496 of file cellToFaceStencil.C.


Member Function Documentation

void merge ( const label  global0,
const label  global1,
const labelList listA,
labelList listB 
) [static, protected]

Merge two lists.

Definition at line 27 of file cellToFaceStencil.C.

References FatalErrorIn, Foam::findSortedIndex(), forAll, and Foam::sort().

Here is the call graph for this function:

void merge ( const label  globalI,
const labelList pGlobals,
labelList cCells 
) [static, protected]

Merge two lists.

Definition at line 128 of file cellToFaceStencil.C.

void validBoundaryFaces ( boolList isValidBFace  )  const [protected]

Valid boundary faces (not empty and not coupled).

Definition at line 162 of file cellToFaceStencil.C.

Foam::autoPtr< Foam::indirectPrimitivePatch > allCoupledFacesPatch (  )  const [protected]

Return patch of all coupled faces.

Definition at line 185 of file cellToFaceStencil.C.

void insertFaceCells ( const label  exclude0,
const label  exclude1,
const boolList nonEmptyFace,
const labelList faceLabels,
labelHashSet globals 
) const [protected]

Collect cell neighbours of faces in global numbering.

Definition at line 259 of file cellToFaceStencil.C.

Foam::labelList calcFaceCells ( const boolList nonEmptyFace,
const labelList faceLabels,
labelHashSet globals 
) const [protected]

Collect cell neighbours of faces in global numbering.

Definition at line 311 of file cellToFaceStencil.C.

void calcFaceStencil ( const labelListList globalCellCells,
labelListList faceStencil 
) const [protected]

Collect cell neighbours into extended stencil.

Definition at line 334 of file cellToFaceStencil.C.

Referenced by CECCellToFaceStencil::CECCellToFaceStencil(), CFCCellToFaceStencil::CFCCellToFaceStencil(), and CPCCellToFaceStencil::CPCCellToFaceStencil().

Here is the caller graph for this function:

const polyMesh& mesh (  )  const [inline]

Definition at line 135 of file cellToFaceStencil.H.

Referenced by extendedCentredCellToFaceStencil::extendedCentredCellToFaceStencil().

Here is the caller graph for this function:

const globalIndex& globalNumbering (  )  const [inline]

Global numbering for cells and boundary faces.

Definition at line 141 of file cellToFaceStencil.H.


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