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

simpleGeomDecomp Class Reference

#include <decompositionMethods/simpleGeomDecomp.H>


Detailed Description

Source files

Definition at line 46 of file simpleGeomDecomp.H.

Inheritance diagram for simpleGeomDecomp:
Collaboration diagram for simpleGeomDecomp:

List of all members.

Public Member Functions

 TypeName ("simple")
 Runtime type information.
 simpleGeomDecomp (const dictionary &decompositionDict)
 Construct given the decomposition dictionary.
 simpleGeomDecomp (const dictionary &decompositionDict, const polyMesh &mesh)
 Construct given the decomposition dictionary and mesh.
virtual  ~simpleGeomDecomp ()
virtual bool  parallelAware () const
 Is method parallel aware (i.e. does it synchronize domains across.
virtual labelList  decompose (const pointField &points)
 Like decompose but with uniform weights on the points.
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)
 Explicitly provided connectivity.

Constructor & Destructor Documentation

simpleGeomDecomp ( const dictionary &   decompositionDict  )

Construct given the decomposition dictionary.

Definition at line 138 of file simpleGeomDecomp.C.

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

Construct given the decomposition dictionary and mesh.

Definition at line 145 of file simpleGeomDecomp.C.

virtual ~simpleGeomDecomp (  ) [inline, virtual]

Definition at line 89 of file simpleGeomDecomp.H.


Member Function Documentation

TypeName ( "simple"    )

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 95 of file simpleGeomDecomp.H.

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

Like decompose but with uniform weights on the points.

Reimplemented from decompositionMethod.

Definition at line 156 of file simpleGeomDecomp.C.

References Field< Type >::component(), forAll, points, List< T >::size(), Foam::sort(), Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.

Referenced by simpleGeomDecomp::decompose().

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 226 of file simpleGeomDecomp.C.

References Field< Type >::component(), forAll, points, List< T >::size(), Foam::sort(), Foam::sum(), Vector< Cmpt >::X, Vector< Cmpt >::Y, and Vector< Cmpt >::Z.

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

Explicitly provided connectivity.

Implements decompositionMethod.

Definition at line 115 of file simpleGeomDecomp.H.

References simpleGeomDecomp::decompose().


The documentation for this class was generated from the following files: