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

metisDecomp Class Reference

Metis domain decomposition. More...

Inheritance diagram for metisDecomp:
Collaboration diagram for metisDecomp:

List of all members.


Public Member Functions

 TypeName ("metis")
 Runtime type information.
 metisDecomp (const dictionary &decompositionDict, const polyMesh &mesh)
 Construct given the decomposition dictionary and mesh.
virtual ~metisDecomp ()
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 Metis storage.

Detailed Description

Metis domain decomposition.

Source files

Definition at line 42 of file metisDecomp.H.


Constructor & Destructor Documentation

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

Construct given the decomposition dictionary and mesh.

Definition at line 311 of file metisDecomp.C.

virtual ~metisDecomp (  )  [inline, virtual]

Definition at line 83 of file metisDecomp.H.


Member Function Documentation

TypeName ( "metis"   ) 

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 89 of file metisDecomp.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 323 of file metisDecomp.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 481 of file metisDecomp.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 533 of file metisDecomp.C.

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

Helper to convert cellcells into Metis storage.

Definition at line 440 of file metisDecomp.C.


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