Go to the documentation of this file.
38 #ifndef scotchDecomp_H
39 #define scotchDecomp_H
57 static void check(
const int,
const char*);
A class for handling file names.
label decompose(const fileName &meshPath, const List< label > &adjncy, const List< label > &xadj, const scalarField &cWeights, List< label > &finalDecomp)
Mesh consisting of general polyhedral cells.
static void check(const int, const char *)
Check and print error message.
Scotch domain decomposition. When run in parallel will collect the whole graph on to the master,...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
void operator=(const scotchDecomp &)
Disallow default bitwise copy construct and assignment.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for decomposition.
virtual ~scotchDecomp()
Destructor.
virtual labelList decompose(const pointField &points, const scalarField &pointWeights)
Return for every coordinate the wanted processor number.
label decomposeOneProc(const fileName &meshPath, const List< label > &adjncy, const List< label > &xadj, const scalarField &cWeights, List< label > &finalDecomp)
Decompose non-parallel.
virtual bool parallelAware() const
Is method parallel aware (i.e. does it synchronize domains across.
scotchDecomp(const scotchDecomp &)
TypeName("scotch")
Runtime type information.