Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex49.c80 DMLabel domain_label = NULL; in CheckOffsets() local
86 if (domain_name) PetscCall(DMGetLabel(dm, domain_name, &domain_label)); in CheckOffsets()
87 …, domain_name ? domain_name : "default", label_value, domain_name && !domain_label ? " (null label… in CheckOffsets()
88 if (domain_name && !domain_label) PetscFunctionReturn(PETSC_SUCCESS); in CheckOffsets()
103 …PetscCall(DMPlexGetLocalOffsets(dm, domain_label, label_value, height, f, &Ncell, &Ncl, &Nc, &n, &… in CheckOffsets()
113 …PetscCall(DMPlexGetLocalOffsetsSupport(dm, domain_label, label_value, &Nface, &Nc, &n, &offsetsNeg… in CheckOffsets()
152 if (domain_name) PetscCall(DMGetLabel(cdm, domain_name, &domain_label)); in CheckOffsets()
154 …PetscCall(DMPlexGetLocalOffsets(cdm, domain_label, label_value, height, 0, &Ncell, &Ncl, &Nc, &n, … in CheckOffsets()
/petsc/src/dm/impls/plex/tutorials/
H A Dex8.c85 DMLabel domain_label; in main() local
90 PetscCall(DMGetLabel(dm, "Face Sets", &domain_label)); in main()
91 PetscCall(DMLabelGetNumValues(domain_label, &Nv)); in main()
100 PetscCall(DMGetRegionDS(dm, domain_label, &fieldIS, &ds, NULL)); in main()
115 PetscCall(DMLabelGetValueIS(domain_label, &valueIS)); in main()
121 …PetscCall(DMPlexGetLocalOffsets(dm, domain_label, values[v], 1, 0, &num_elem, &elem_size, &num_com… in main()
/petsc/src/dm/impls/plex/
H A Dplexceed.c58 PetscErrorCode DMPlexGetLocalOffsets(DM dm, DMLabel domain_label, PetscInt label_value, PetscInt he… in DMPlexGetLocalOffsets() argument
79 PetscCall(DMGetRegionDS(dm, domain_label, &field_is, &ds, NULL)); in DMPlexGetLocalOffsets()
94 PetscCall(DMGetPoints_Internal(dm, domain_label, label_value, height, &iter_is)); in DMPlexGetLocalOffsets()
195 PetscErrorCode DMPlexGetLocalOffsetsSupport(DM dm, DMLabel domain_label, PetscInt label_value, Pets… in DMPlexGetLocalOffsetsSupport() argument
208 PetscCall(DMGetRegionDS(dm, domain_label, NULL, &ds, NULL)); in DMPlexGetLocalOffsetsSupport()
212 PetscCall(DMGetPoints_Internal(dm, domain_label, label_value, height, &iter_is)); in DMPlexGetLocalOffsetsSupport()
314 PetscErrorCode DMPlexGetCeedRestriction(DM dm, DMLabel domain_label, PetscInt label_value, PetscInt… in DMPlexGetCeedRestriction() argument
324 …PetscCall(DMPlexGetLocalOffsets(dm, domain_label, label_value, height, dm_field, &num_cells, &cell… in DMPlexGetCeedRestriction()
367 DMLabel domain_label = NULL; in DMPlexCeedComputeGeometryFVM() local
375 PetscCall(DMGetPoints_Internal(dm, domain_label, label_value, height, &iter_is)); in DMPlexCeedComputeGeometryFVM()