Home
last modified time | relevance | path

Searched refs:labels (Results 1 – 25 of 29) sorted by relevance

12

/petsc/src/sys/classes/draw/utils/
H A Dbars.c78 …DrawBarSetData(PetscDrawBar bar, PetscInt bins, const PetscReal data[], const char *const labels[]) in PetscDrawBarSetData() argument
89 if (labels) PetscCall(PetscStrArrayallocpy(labels, &bar->labels)); in PetscDrawBarSetData()
113 PetscCall(PetscStrArrayDestroy(&(*bar)->labels)); in PetscDrawBarDestroy()
139 char **labels; in PetscDrawBarDraw() local
171 labels = bar->labels; in PetscDrawBarDraw()
204 if (labels) { in PetscDrawBarDraw()
208 …all(PetscDrawStringCentered(draw, .5 * (binLeft + binRight), ymin - 1.5 * h, bcolor, labels[idx])); in PetscDrawBarDraw()
/petsc/config/
H A Dquery_tests.py92 def query(invDict,fields,labels): argument
98 llist=labels.replace('|',',').split(',')
240 fields, labels, searchin): argument
257 resList=query(invDict, fields, labels)
372 labels=alternate_command_preprocess(shell_unquote(args[1]))
412 labels = expand_path_like(petsc_dir,petsc_arch,labels)
416 petsc_dir, petsc_arch, field, labels, searchin)
/petsc/doc/developers/contributing/
H A Dsubmittingmr.md15 - Select appropriate [labels](https://gitlab.com/petsc/petsc/-/labels) including a {any}`workflow l…
29 … not allow you to set labels, so `@`-mention one of the developers in a comment so they can assign…
33 ## Workflow labels
35labels](https://gitlab.com/petsc/petsc/-/labels?subscribed=&search=workflow%3A%3A) that indicate t…
/petsc/src/sys/classes/draw/tests/
H A Dex12.c14 const char *const labels[] = {"A", "B", "C", "D", NULL}; in main() local
44 PetscCall(PetscDrawBarSetData(bar, 4, values, labels)); in main()
/petsc/src/dm/label/tutorials/output/
H A Dex1_0_nsize-1.out1 Number of labels: 12
106 Labels of DMs "plex0" and "plex1" differ: Number of labels in dm0 = 12 != 8 = Number of labels in d…
H A Dex1_0_nsize-2.out1 Number of labels: 12
141 Labels of DMs "plex0" and "plex1" differ: Number of labels in dm0 = 12 != 8 = Number of labels in d…
H A Dex1f90_0.out1 Number of labels: 8
/petsc/doc/manualpages/MANSECHeaders/
H A DPetscRegressor5 of discrete labels or categories) tasks.
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcgraph.c438 PetscInt *labels, *rootlabels, *mrlabels; in PCBDDCGraphComputeConnectedComponents() local
441 PetscCall(PetscMalloc1(graph->nvtxs, &labels)); in PCBDDCGraphComputeConnectedComponents()
442 PetscCall(PetscArrayzero(labels, graph->nvtxs)); in PCBDDCGraphComputeConnectedComponents()
447 labels[graph->queue[j]] = -(k + s + 1); in PCBDDCGraphComputeConnectedComponents()
450 labels[graph->queue[j]] = -(k + 1); in PCBDDCGraphComputeConnectedComponents()
463 PetscCall(PetscSFGatherBegin(graph->interface_subset_sf, MPIU_INT, labels, mrlabels)); in PCBDDCGraphComputeConnectedComponents()
464 PetscCall(PetscSFGatherEnd(graph->interface_subset_sf, MPIU_INT, labels, mrlabels)); in PCBDDCGraphComputeConnectedComponents()
513 …PetscCall(PetscSFBcastBegin(graph->interface_subset_sf, MPIU_INT, rootlabels, labels, MPI_REPLACE)… in PCBDDCGraphComputeConnectedComponents()
514 … PetscCall(PetscSFBcastEnd(graph->interface_subset_sf, MPIU_INT, rootlabels, labels, MPI_REPLACE)); in PCBDDCGraphComputeConnectedComponents()
530 const PetscInt jlabel = labels[oqueue[j]]; in PCBDDCGraphComputeConnectedComponents()
[all …]
/petsc/doc/developers/
H A Dmrmanagement.md18 * - Missing a :any:`workflow label <sec_workflow_labels>` and other labels
H A Ddocumentation.md124 - For internal links, use explicit labels, e.g
/petsc/src/dm/impls/plex/
H A Dplexsection.c450 DMLabel *labels; in DMCreateLocalSection_Plex() local
587 PetscCall(PetscCalloc3(Nf, &labels, Nf, &numComp, Nf * (dim + 1), &numDof)); in DMCreateLocalSection_Plex()
589 labels[f] = dm->fields[f].label; in DMCreateLocalSection_Plex()
612 …PetscCall(DMPlexCreateSection(dm, labels, numComp, numDof, numBC, bcFields, bcComps, bcPoints, per… in DMCreateLocalSection_Plex()
631 PetscCall(PetscFree3(labels, numComp, numDof)); in DMCreateLocalSection_Plex()
/petsc/doc/manual/
H A Dfe.md30 the space associated with a given cell. `DMPLEX` uses the labels associated with each `PetscDS` in …
36 … unique set of fields supported on it. These subdomain are identified by labels, and each one has …
97 …ows functions to be associated with particular subsets of the mesh using labels and label values. …
H A Dregressor.md25 and when it consists of discrete values (or "labels"), this task is called "classification";
H A Ddmplex.md55 In terms of the labels in
489 group /topologies/plexA/labels
/petsc/src/dm/interface/
H A Ddm.c71 v->labels = NULL; in DMCreate()
598 DMLabelLink next = dm->labels; in DMDestroyLabelLinkList_Internal()
611 dm->labels = NULL; in DMDestroyLabelLinkList_Internal()
5405 DMLabel *labels, *glabels; in DMCompleteBCLabels_Internal() local
5426 PetscCall(PetscCalloc1(maxLabels, &labels)); in DMCompleteBCLabels_Internal()
5445 if (labels[l] == label) break; in DMCompleteBCLabels_Internal()
5446 if (l == Nl) labels[Nl++] = label; in DMCompleteBCLabels_Internal()
5451 for (l = 0; l < Nl; ++l) PetscCall(PetscObjectGetName((PetscObject)labels[l], &names[l])); in DMCompleteBCLabels_Internal()
5456 PetscCall(PetscFree(labels)); in DMCompleteBCLabels_Internal()
6823 for (m = 0, orig = dm->labels; m < Nl; ++m, prev = orig, orig = orig->next) { in DMCreateLabelAtIndex()
[all …]
/petsc/include/petsc/private/
H A Ddrawimpl.h133 char **labels; member
H A Ddmimpl.h235 DMLabelLink labels; /* Linked list of labels */ member
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DRegressor.pyx145 The vector of predicted labels
H A DDMPlex.pyx360 ``-dm_plex_gmsh_use_regions`` generates labels with region names.\n
361 ``-dm_plex_gmsh_mark_vertices`` adds vertices to generated labels.\n
362 ``-dm_plex_gmsh_multiple_tags`` allows multiple tags for default labels.\n
3276 """Save `DMPlex` labels into a file.
3411 """Load labels into this `DMPlex` object.
3418 The `Viewer` for the saved labels.
/petsc/src/binding/petsc4py/docs/ipynb/
H A Ddmplex.ipynb210 …e reason. By default, the DMPlex comes with a label called 'depth'. This labels each entity based …
313 …"We can also use labels to mark, say, boundary edges. These are the edges with only 1 entry in the…
/petsc/doc/changes/
H A D37.md194 - DMLabel labels are now available to all DM objects, not just
H A D316.md273 - Add `PetscWeakFormReplaceLabel()` to change labels after mesh modification
H A D317.md182 - Change `TSMonitorSPSwarmSolution()` to have correct axes labels and bounds
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1863 const char *labels[] = {"Zone_t", "ZoneBC_t", "BC_t", "PointList"}; in DMPlexCreateCGNS_Internal_Parallel() local
1864 PetscCallCGNSRead(cg_golist(cgid, base, 4, (char **)labels, (int[]){zone, 1, BC, 0}), *dm, 0); in DMPlexCreateCGNS_Internal_Parallel()
2357 const char *labels[] = {"Zone_t", "ZoneBC_t", "BC_t", "PointList"}; in DMView_PlexCGNS() local
2358 …PetscCallCGNSWrite(cg_golist(cgv->file_num, base, 4, (char **)labels, (int[]){zone, 1, BC, 0}), dm… in DMView_PlexCGNS()

12