Go to the documentation of this file.
15 #include "fvOptions.H"
16 #include "surfaceFields.H"
71 scalar& allNonZeros)
const;
78 const label* valArray)
const;
84 label& notColored)
const;
90 label& nColors)
const;
virtual ~DAColoring()
Destructor.
const DAIndex & daIndex_
DAIndex object.
const DAOption & daOption_
DAOption object.
label find_index(const label target, const label start, const label size, const label *valArray) const
find the index of a prescribed value in an array
const fvMesh & mesh_
fvMesh object
DAOption daOption(mesh, pyOptions_)
void validateColoring(Mat conMat, Vec colors) const
validate if there is coloring conflict
void parallelD2Coloring(const Mat conMat, Vec colors, label &nColors) const
a parallel distance-2 graph coloring function
void getMatNonZeros(const Mat conMat, label &maxCols, scalar &allNonZeros) const
number of non-zero elements in a matrix
void coloringComplete(const Vec colors, label &colorCounter, label ¬Colored) const
check if there is non-colored columns
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)