47#ifndef simpleGeomDecomp_H
48#define simpleGeomDecomp_H
65 static void assignToProcessorGroup
68 const label nProcGroup
71 static void assignToProcessorGroup
74 const label nProcGroup,
77 const scalar summedWeights
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base for geometrical domain decomposition methods.
void checkDecompositionDirections(const Vector< label > &) const
Check that mesh directions are compatible with decomposition.
Mesh consisting of general polyhedral cells.
const Vector< label > & geometricD() const
Return the vector of geometric directions in mesh.
Simple geometric decomposition, selectable as simple.
simpleGeomDecomp(const simpleGeomDecomp &)=delete
No copy assignment.
virtual bool parallelAware() const
Simple sends all points to the master for decomposition.
virtual labelList decompose(const pointField &points) const
Decompose with uniform weights.
virtual labelList decompose(const polyMesh &mesh, const pointField &points, const scalarField &weights) const
Return for every coordinate the wanted processor number.
virtual ~simpleGeomDecomp()=default
Destructor.
void operator=(const simpleGeomDecomp &)=delete
No copy construct.
virtual labelList decompose(const polyMesh &mesh, const pointField &points) const
Decompose with uniform weights.
TypeName("simple")
Runtime type information.
virtual labelList decompose(const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights) const
Explicitly provided connectivity.
A class for handling words, derived from Foam::string.
Foam::word regionName(Foam::polyMesh::defaultRegion)
List< label > labelList
A List of labels.
vectorField pointField
pointField is a vectorField.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.