44#ifndef Foam_manualDecomp_H
45#define Foam_manualDecomp_H
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.
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,...
A class for handling file names.
Decompose based on cell-to-processor association in a file.
virtual bool parallelAware() const
Manual decompose does not care about proc boundaries. Is all up to the user.
virtual ~manualDecomp()=default
Destructor.
TypeName("manual")
Runtime type information.
virtual labelList decompose(const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Return for every coordinate the wanted processor number.
manualDecomp(const manualDecomp &)=delete
No copy construct.
void operator=(const manualDecomp &)=delete
No copy assignment.
virtual labelList decompose(const CompactListList< label > &globalCellCells, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Return for every coordinate the wanted processor number.
virtual labelList decompose(const polyMesh &mesh, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Return for every coordinate the wanted processor number.
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))
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
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.