47#ifndef Foam_simpleGeomDecomp_H
48#define Foam_simpleGeomDecomp_H
A packed storage of objects of type <T> using an offset table for access.
static const Field< scalar > & null() noexcept
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base for geometrical domain decomposition methods.
geomDecomp(const Vector< label > &divisions)
Construct with number of x/y/z division (no coefficients or constraints).
void checkDecompositionDirections(const Vector< label > &) const
Check that mesh directions are compatible with decomposition.
Mesh consisting of general polyhedral cells.
Simple geometric decomposition, selectable as simple.
simpleGeomDecomp(const simpleGeomDecomp &)=delete
No copy construct.
virtual bool parallelAware() const
Sends all points to the master for decomposition.
virtual ~simpleGeomDecomp()=default
Destructor.
void operator=(const simpleGeomDecomp &)=delete
No copy assignment.
virtual labelList decompose(const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Explicitly provided connectivity.
TypeName("simple")
Runtime type information.
virtual labelList decompose(const pointField &points, const scalarField &weights=scalarField::null()) const
Return for every coordinate the wanted processor number. using uniform or specified point weights.
virtual labelList decompose(const CompactListList< label > &globalCellCells, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Explicitly provided connectivity.
virtual labelList decompose(const polyMesh &mesh, const pointField &points, const scalarField &pointWeights=scalarField::null()) const
Decompose with uniform or specified point weights.
A class for handling words, derived from Foam::string.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
vectorField pointField
pointField is a vectorField.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.