Lines Matching refs:numColors

1147 …PetscInt     numLabels, l, numColors, numLColors, dim, d, depth, cStart, cEnd, c, vStart, vEnd, v,…  in DMPlexView_Ascii()  local
1164 numColors = 10; in DMPlexView_Ascii()
1166 PetscCall(PetscCalloc3(numLabels, &names, numColors, &colors, numLColors, &lcolors)); in DMPlexView_Ascii()
1180 …->options, ((PetscObject)viewer)->prefix, "-dm_plex_view_colors", colors, &numColors, &useColors)); in DMPlexView_Ascii()
1182 numColors = 3; in DMPlexView_Ascii()
1183 for (c = 0; c < numColors; ++c) PetscCall(PetscStrallocpy(defcolors[c], &colors[c])); in DMPlexView_Ascii()
1239 …ll(PetscViewerASCIIPrintf(viewer, "{\\textcolor{%s}%" PetscInt_FMT "}", colors[p % numColors], p)); in DMPlexView_Ascii()
1291 if (drawHasse) color = colors[0 % numColors]; in DMPlexView_Ascii()
1292 else color = colors[rank % numColors]; in DMPlexView_Ascii()
1340 if (drawHasse) color = colors[1 % numColors]; in DMPlexView_Ascii()
1341 else color = colors[rank % numColors]; in DMPlexView_Ascii()
1362 color = colors[rank % numColors]; in DMPlexView_Ascii()
1391 … -- (%" PetscInt_FMT "_%d) -- (%" PetscInt_FMT "_%d);\n", colors[rank % numColors], econe[0], rank… in DMPlexView_Ascii()
1403 …tscCall(PetscViewerASCIISynchronizedPrintf(viewer, "\\draw[color=%s] ", colors[rank % numColors])); in DMPlexView_Ascii()
1459 if (drawHasse) color = colors[depth % numColors]; in DMPlexView_Ascii()
1460 else color = colors[rank % numColors]; in DMPlexView_Ascii()
1479 color = colors[depth % numColors]; in DMPlexView_Ascii()
1487 color = colors[1 % numColors]; in DMPlexView_Ascii()
1495 color = colors[1 % numColors]; in DMPlexView_Ascii()
1502 color = colors[0 % numColors]; in DMPlexView_Ascii()
1523 for (c = 0; c < numColors; ++c) PetscCall(PetscFree(colors[c])); in DMPlexView_Ascii()