47#ifndef Foam_randomDecomp_H
48#define Foam_randomDecomp_H
72 labelList randomMap(
const label nCells)
const;
A packed storage of objects of type <T> using an offset table for access.
static const Field< scalar > & null() noexcept
Abstract base class for domain decomposition.
@ DEFAULT
Default request.
decompositionMethod(const label numDomains)
Construct with specified number of domains, no coefficients or constraints.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
Decomposition according to pseudo-random number generator, which is useful for development and stress...
virtual ~randomDecomp()=default
Destructor.
TypeNameNoDebug("random")
Runtime type information.
void operator=(const randomDecomp &)=delete
No copy assignment.
virtual bool parallelAware() const
Does not care about proc boundaries.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights_unused=scalarField::null()) const
Return for every coordinate the wanted processor number.
randomDecomp(const randomDecomp &)=delete
No copy construct.
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 TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.