FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

manualDecomp Class Reference

Decomposition given a cell-to-processor association in a file. More...

#include <decompositionMethods/manualDecomp.H>


Detailed Description

Decomposition given a cell-to-processor association in a file.

Source files

Definition at line 47 of file manualDecomp.H.

Inheritance diagram for manualDecomp:
Collaboration diagram for manualDecomp:

List of all members.

Public Member Functions

 TypeName ("manual")
 Runtime type information.
 manualDecomp (const dictionary &decompositionDict)
 Construct given the decomposition dictionary.
 manualDecomp (const dictionary &decompositionDict, const polyMesh &mesh)
 Construct given the decomposition dictionary and mesh.
virtual  ~manualDecomp ()
virtual bool  parallelAware () const
 manual decompose does not care about proc boundaries - is all
virtual labelList  decompose (const pointField &points, const scalarField &pointWeights)
 Return for every coordinate the wanted processor number. Use the.
virtual labelList  decompose (const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights)
 Return for every coordinate the wanted processor number. Explicitly.

Constructor & Destructor Documentation

manualDecomp ( const dictionary &   decompositionDict  )

Construct given the decomposition dictionary.

Definition at line 58 of file manualDecomp.C.

References notImplemented.

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

Construct given the decomposition dictionary and mesh.

Definition at line 67 of file manualDecomp.C.

virtual ~manualDecomp (  ) [inline, virtual]

Definition at line 86 of file manualDecomp.H.


Member Function Documentation

TypeName ( "manual"    )

Runtime type information.

virtual bool parallelAware (  ) const [inline, virtual]

manual decompose does not care about proc boundaries - is all

up to the user.

Implements decompositionMethod.

Definition at line 94 of file manualDecomp.H.

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

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

mesh connectivity (if needed)

Implements decompositionMethod.

Definition at line 85 of file manualDecomp.C.

References IOobject::AUTO_WRITE, Foam::endl(), Foam::exit(), polyMesh::facesInstance(), Foam::FatalError, FatalErrorIn, Foam::max(), mesh, Foam::min(), IOobject::MUST_READ, and List< T >::size().

Referenced by manualDecomp::decompose().

virtual labelList decompose ( const labelListList &   globalCellCells,
const pointField &   cc,
const scalarField &   cWeights  
) [inline, virtual]

Return for every coordinate the wanted processor number. Explicitly.

provided connectivity - does not use mesh_. 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 115 of file manualDecomp.H.

References manualDecomp::decompose().


The documentation for this class was generated from the following files:
  • src/decompositionMethods/decompositionMethods/manualDecomp/manualDecomp.H
  • src/decompositionMethods/decompositionMethods/manualDecomp/manualDecomp.C