FreeFOAM The Cross-Platform CFD Toolkit
simpleGeomDecomp Class Reference

#include <decompositionMethods/simpleGeomDecomp.H>


Detailed Description

+ 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.
- Public Member Functions inherited from geomDecomp
 geomDecomp (const dictionary &decompositionDict, const word &derivedType)
 Construct given the decomposition dictionary.
- Public Member Functions inherited from decompositionMethod
 TypeName ("decompositionMethod")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, decompositionMethod, dictionary,(const dictionary &decompositionDict),(decompositionDict))
 declareRunTimeSelectionTable (autoPtr, decompositionMethod, dictionaryMesh,(const dictionary &decompositionDict, const polyMesh &mesh),(decompositionDict, mesh))
 decompositionMethod (const dictionary &decompositionDict)
 Construct given the decomposition dictionary.
virtual ~decompositionMethod ()
virtual labelList decompose (const labelList &cellToRegion, const pointField &regionPoints, const scalarField &regionWeights)
 Return for every coordinate the wanted processor number. Gets.
virtual labelList decompose (const labelList &cellToRegion, const pointField &regionPoints)
 Like decompose but with uniform weights on the regions.
virtual labelList decompose (const labelListList &globalCellCells, const pointField &cc)
 Like decompose but with uniform weights on the cells.

Additional Inherited Members

- Protected Attributes inherited from geomDecomp
const dictionarygeomDecomDict_
Vector< label > n_
scalar delta_
tensor rotDelta_
- Protected Attributes inherited from decompositionMethod
const dictionarydecompositionDict_
label nProcessors_

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 ( )
inlinevirtual

Definition at line 89 of file simpleGeomDecomp.H.


Member Function Documentation

TypeName ( "simple"  )

Runtime type information.

virtual bool parallelAware ( ) const
inlinevirtual

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< scalar >::X, Vector< scalar >::Y, and Vector< scalar >::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< scalar >::X, Vector< scalar >::Y, and Vector< scalar >::Z.

virtual labelList decompose ( const labelListList globalCellCells,
const pointField cc,
const scalarField cWeights 
)
inlinevirtual

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: