38#ifndef Foam_structuredDecomp_H
39#define Foam_structuredDecomp_H
A packed storage of objects of type <T> using an offset table for access.
static const Field< scalar > & null() noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
structuredDecomp(const structuredDecomp &)=delete
No copy construct.
void operator=(const structuredDecomp &)=delete
No copy assignment.
virtual bool parallelAware() const
Is method parallel aware.
virtual labelList decompose(const polyMesh &mesh, const pointField &points, const scalarField &pointWeights=scalarField::null()) const
Return for every coordinate the wanted processor number.
virtual labelList decompose(const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Return for every coordinate the wanted processor number.
TypeName("structured")
Runtime type information.
virtual ~structuredDecomp()=default
Destructor.
virtual labelList decompose(const CompactListList< label > &globalCellCells, const pointField &cc, const scalarField &cWeights=scalarField::null()) const
Return for every coordinate the wanted processor number.
A List of wordRe with additional matching capabilities.
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.