40#ifndef metisLikeDecomp_H
41#define metisLikeDecomp_H
97 const word& derivedType,
112 const word& derivedType,
Abstract base class for domain decomposition.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Domain decomposition using METIS-like data structures.
const dictionary & coeffsDict_
Coefficients for all derived methods.
metisLikeDecomp(const metisLikeDecomp &)=delete
No copy construct.
virtual label decomposeSerial(const labelList &adjncy, const labelList &xadj, const List< scalar > &cellWeights, labelList &decomp) const =0
Decomposition with metis-like parameters.
virtual ~metisLikeDecomp()=default
Destructor.
virtual labelList decompose(const polyMesh &mesh, const pointField &points, const scalarField &pointWeights) const
Return for every coordinate the wanted processor number.
metisLikeDecomp(const word &derivedType, const dictionary &decompDict, int select=selectionType::NULL_DICT)
Construct for derived type name and decomposition dictionary.
virtual label decomposeGeneral(const labelList &adjncy, const labelList &xadj, const List< scalar > &cellWeights, labelList &decomp) const
Serial and/or collect/distribute for parallel operation.
void operator=(const metisLikeDecomp &)=delete
No copy assignment.
Mesh consisting of general polyhedral cells.
bool decompose() const noexcept
Query the decompose flag (normally off)
A class for handling words, derived from Foam::string.
Foam::word regionName(Foam::polyMesh::defaultRegion)