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

scotchDecomp Class Reference

Scotch domain decomposition. More...

Inheritance diagram for scotchDecomp:
Collaboration diagram for scotchDecomp:

List of all members.


Public Member Functions

 TypeName ("scotch")
 Runtime type information.
 scotchDecomp (const dictionary &decompositionDict, const polyMesh &mesh)
 Construct given the decomposition dictionary and mesh.
virtual ~scotchDecomp ()
virtual bool parallelAware () const
 Is method parallel aware (i.e. does it synchronize domains across.
virtual labelList decompose (const pointField &)
 Return for every coordinate the wanted processor number. Use the.
virtual labelList decompose (const labelList &agglom, const pointField &)
 Return for every coordinate the wanted processor number. Gets.
virtual labelList decompose (const labelListList &globalCellCells, const pointField &cc)
 Return for every coordinate the wanted processor number. Explicitly.

Static Public Member Functions

static void calcMetisCSR (const labelListList &globalCellCells, List< int > &adjncy, List< int > &xadj)
 Helper to convert cellcells into compact row storage.

Detailed Description

Scotch domain decomposition.

Source files

Definition at line 42 of file scotchDecomp.H.


Constructor & Destructor Documentation

scotchDecomp ( const dictionary &  decompositionDict,
const polyMesh &  mesh 
)

Construct given the decomposition dictionary and mesh.

Definition at line 322 of file scotchDecomp.C.

virtual ~scotchDecomp (  )  [inline, virtual]

Definition at line 86 of file scotchDecomp.H.


Member Function Documentation

TypeName ( "scotch"   ) 

Runtime type information.

virtual bool parallelAware (  )  const [inline, virtual]

Is method parallel aware (i.e. does it synchronize domains across.

proc boundaries)

Implements decompositionMethod.

Definition at line 92 of file scotchDecomp.H.

Foam::labelList decompose ( const pointField &  points  )  [virtual]

Return for every coordinate the wanted processor number. Use the.

mesh connectivity (if needed)

Implements decompositionMethod.

Definition at line 334 of file scotchDecomp.C.

Foam::labelList decompose ( const labelList &  agglom,
const pointField &  agglomPoints 
) [virtual]

Return for every coordinate the wanted processor number. Gets.

passed agglomeration map (from fine to coarse cells) and coarse cell location. Can be overridden by decomposers that provide this functionality natively.

Reimplemented from decompositionMethod.

Definition at line 492 of file scotchDecomp.C.

Foam::labelList decompose ( const labelListList &  globalCellCells,
const pointField &  cc 
) [virtual]

Return for every coordinate the wanted processor number. Explicitly.

provided mesh connectivity. The connectivity is equal to mesh.cellCells() except for

  • in parallel the cell numbers are global cell numbers (starting from 0 at processor0 and then incrementing all through the processors)
  • the connections are across coupled patches

Implements decompositionMethod.

Definition at line 544 of file scotchDecomp.C.

void calcMetisCSR ( const labelListList &  globalCellCells,
List< int > &  adjncy,
List< int > &  xadj 
) [static]

Helper to convert cellcells into compact row storage.

Definition at line 451 of file scotchDecomp.C.


The documentation for this class was generated from the following files:
  • src/decompositionMethods/decompositionMethods/scotchDecomp/scotchDecomp.H
  • src/decompositionMethods/decompositionMethods/scotchDecomp/scotchDecomp.C
Copyright © 2000-2009 OpenCFD Ltd