Home
last modified time | relevance | path

Searched refs:numColors (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplex.c1147 …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()
[all …]