Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexceed.c58 PetscErrorCode DMPlexGetLocalOffsets(DM dm, DMLabel domain_label, PetscInt label_value, PetscInt he… in DMPlexGetLocalOffsets() argument
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
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()
368 PetscInt label_value = 0, height = 1, Nf, cdim; in DMPlexCeedComputeGeometryFVM() local
375 PetscCall(DMGetPoints_Internal(dm, domain_label, label_value, height, &iter_is)); in DMPlexCeedComputeGeometryFVM()
H A Dplexcreate.c1055 PetscInt face = faces[f], flip = 1, label_value = -1, coords_size; in DMPlexSetBoxLabel_Internal() local
1084 label_value = PetscRealPart(normal[0]) > 0 ? faceMarkerRight : faceMarkerLeft; in DMPlexSetBoxLabel_Internal()
1086 label_value = PetscRealPart(normal[1]) > 0 ? faceMarkerTop : faceMarkerBottom; in DMPlexSetBoxLabel_Internal()
1104 label_value = PetscRealPart(normal[0]) > 0 ? faceMarkerRight : faceMarkerLeft; in DMPlexSetBoxLabel_Internal()
1106 label_value = PetscRealPart(normal[2]) > 0 ? faceMarkerTop : faceMarkerBottom; in DMPlexSetBoxLabel_Internal()
1110 label_value = PetscRealPart(normal[1]) > 0 ? faceMarkerBack : faceMarkerFront; in DMPlexSetBoxLabel_Internal()
1112 label_value = PetscRealPart(normal[2]) > 0 ? faceMarkerTop : faceMarkerBottom; in DMPlexSetBoxLabel_Internal()
1121 PetscCall(DMSetLabelValue(dm, "Face Sets", face, label_value)); in DMPlexSetBoxLabel_Internal()
/petsc/src/dm/impls/plex/tests/
H A Dex49.c77 …de CheckOffsets(DM dm, AppCtx *user, const char *domain_name, PetscInt label_value, PetscInt heigh… in CheckOffsets() argument
87 …T "}%s\n", height_name[height], domain_name ? domain_name : "default", label_value, domain_name &&… 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()
154 …PetscCall(DMPlexGetLocalOffsets(cdm, domain_label, label_value, height, 0, &Ncell, &Ncl, &Nc, &n, … in CheckOffsets()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1841 PetscInt label_value = 1; in DMPlexCreateCGNS_Internal_Parallel() local
1849 PetscCall(PetscStrtoInt(bcinfo.name + faceset_len, &label_value)); in DMPlexCreateCGNS_Internal_Parallel()
1877 label_values[p] = label_value; in DMPlexCreateCGNS_Internal_Parallel()