@@ -3638,7 +3638,7 @@ const CCompressedSparsePatternUL& CGeometry::GetEdgeColoring(su2double* efficien
36383638 /* --- Color the edges. ---*/
36393639 constexpr bool balanceColors = true ;
36403640
3641- /* --- if requested, find an efficient coloring with maximum color group size (up to edgeColorGroupSize) ---*/
3641+ /* --- If requested, find an efficient coloring with maximum color group size (up to edgeColorGroupSize). ---*/
36423642 if (maximizeEdgeColorGroupSize) {
36433643 auto upperEdgeColorGroupSize = edgeColorGroupSize + 1 ; /* upper bound that is deemed too large */
36443644 auto nextEdgeColorGroupSize = edgeColorGroupSize; /* next value that we are going to try */
@@ -3647,7 +3647,7 @@ const CCompressedSparsePatternUL& CGeometry::GetEdgeColoring(su2double* efficien
36473647 while (true ) {
36483648 const auto edgeColoring = colorSparsePattern (pattern, nextEdgeColorGroupSize, balanceColors);
36493649
3650- /* --- if the coloring fails, reduce the color group size ---*/
3650+ /* --- If the coloring fails, reduce the color group size. ---*/
36513651 if (edgeColoring.empty ()) {
36523652 upperEdgeColorGroupSize = nextEdgeColorGroupSize;
36533653 nextEdgeColorGroupSize = lowerEdgeColorGroupSize + (upperEdgeColorGroupSize - lowerEdgeColorGroupSize) / 2 ;
@@ -3657,11 +3657,11 @@ const CCompressedSparsePatternUL& CGeometry::GetEdgeColoring(su2double* efficien
36573657 const su2double currentEfficiency =
36583658 coloringEfficiency (edgeColoring, omp_get_max_threads (), nextEdgeColorGroupSize);
36593659
3660- /* --- if the coloring is not efficient, reduce the color group size ---*/
3660+ /* --- If the coloring is not efficient, reduce the color group size. ---*/
36613661 if (currentEfficiency < COLORING_EFF_THRESH) {
36623662 upperEdgeColorGroupSize = nextEdgeColorGroupSize;
36633663 }
3664- /* --- otherwise, try to enlarge the color group size ---*/
3664+ /* --- Otherwise, enlarge the color group size. ---*/
36653665 else {
36663666 lowerEdgeColorGroupSize = nextEdgeColorGroupSize;
36673667 }
0 commit comments