47 #ifndef Foam_randomDecomp_H 48 #define Foam_randomDecomp_H 61 public decompositionMethod
99 int select = selectionType::DEFAULT
labelList randomMap(const label nCells)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
List< bool > select(const label n, const labelUList &locations)
Construct a selection list of bools (all false) with the given pre-size, subsequently add specified l...
static const Field< scalar > & null() noexcept
Return a null Field (reference to a nullObject). Behaves like an empty Field.
void operator=(const randomDecomp &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
randomDecomp(const randomDecomp &)=delete
No copy construct.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights_unused=scalarField::null()) const
Return for every coordinate the wanted processor number.
A packed storage of objects of type <T> using an offset table for access.
Decomposition according to pseudo-random number generator, which is useful for development and stress...
virtual ~randomDecomp()=default
Destructor.
Foam::word regionName(args.getOrDefault< word >("region", Foam::polyMesh::defaultRegion))
Mesh consisting of general polyhedral cells.
virtual bool parallelAware() const
Does not care about proc boundaries.
TypeNameNoDebug("random")
Runtime type information.