38#ifndef Foam_multiLevelDecomp_H
39#define Foam_multiLevelDecomp_H
68 void createMethodsDict();
76 void subsetGlobalCellCells
95 const label currLevel,
96 const label leafOffset,
A packed storage of objects of type <T> using an offset table for access.
static const Field< scalar > & null() noexcept
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
static label nDomains(const dictionary &decompDict, const word ®ionName="")
Return region-specific or top-level numberOfSubdomains entry.
decompositionMethod(const label numDomains)
Construct with specified number of domains, no coefficients or constraints.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights=scalarField::null()) const
Return the wanted processor number for every coordinate, using uniform or specified point weights.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
multiLevelDecomp(const multiLevelDecomp &)=delete
No copy construct.
virtual bool parallelAware() const
Is parallel aware when all sub-methods are also parallel-aware.
virtual ~multiLevelDecomp()=default
Destructor.
void operator=(const multiLevelDecomp &)=delete
No copy assignment.
TypeName("multiLevel")
Runtime type information.
Mesh consisting of general polyhedral cells.
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.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.