| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex5.c | 445 …for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 446 for (p = 0; p < 2; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateSimplex_2D() 447 PetscCall(DMSetLabelValue(*dm, "material", 0, 1)); in CreateSimplex_2D() 448 PetscCall(DMSetLabelValue(*dm, "material", 1, 2)); in CreateSimplex_2D() 460 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 461 for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateSimplex_2D() 462 PetscCall(DMSetLabelValue(*dm, "material", 0, 1)); in CreateSimplex_2D() 463 PetscCall(DMSetLabelValue(*dm, "material", 3, 1)); in CreateSimplex_2D() 464 PetscCall(DMSetLabelValue(*dm, "material", 1, 2)); in CreateSimplex_2D() 465 PetscCall(DMSetLabelValue(*dm, "material", 2, 2)); in CreateSimplex_2D() [all …]
|
| H A D | ex7.c | 182 …for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateSimplex_2D() 214 …for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateSimplex_3D() 246 …for (p = 0; p < 6; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateQuad_2D() 257 …for (p = 0; p < 5; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateQuad_2D() 289 …for (p = 0; p < 8; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateHex_3D()
|
| H A D | ex4.c | 157 for (p = 0; p < 2; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateSimplexHybrid_2D() 168 for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateSimplexHybrid_2D() 256 for (p = 0; p < 2; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateTensorProductHybrid_2D() 393 for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateSimplexHybrid_3D() 405 for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateSimplexHybrid_3D() 500 for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateTensorProductHybrid_3D() 513 for (p = 0; p < 6; ++p) PetscCall(DMSetLabelValue(*dm, "fault", faultPoints[p], 1)); in CreateTensorProductHybrid_3D()
|
| H A D | ex18.c | 426 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 435 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 451 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 460 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 469 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 485 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 494 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 503 …for (p = 0; p < 3; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_2D() 534 …for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_3D() 543 …for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(*dm, "marker", markerPoints[p * 2], markerPoints… in CreateSimplex_3D() [all …]
|
| H A D | ex9.c | 101 …for (p = 0; p < 4; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateSimplex_2D() 123 …for (p = 0; p < 5; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateSimplex_3D() 145 …for (p = 0; p < 6; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints[… in CreateQuad_2D() 167 …for (p = 0; p < 12; ++p) PetscCall(DMSetLabelValue(dm, "marker", markerPoints[p * 2], markerPoints… in CreateHex_3D()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 555 PetscCall(DMSetLabelValue(dm, "marker", 0, markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal() 556 PetscCall(DMSetLabelValue(dm, "marker", 1, markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_1D_Internal() 627 PetscCall(DMSetLabelValue(dm, "marker", edge, markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 628 PetscCall(DMSetLabelValue(dm, "marker", cone[0], markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 630 PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 631 PetscCall(DMSetLabelValue(dm, "Face Sets", cone[1], markerRight)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 634 PetscCall(DMSetLabelValue(dm, "marker", edge, markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 635 PetscCall(DMSetLabelValue(dm, "marker", cone[0], markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 637 PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() 638 PetscCall(DMSetLabelValue(dm, "Face Sets", cone[1], markerLeft)); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() [all …]
|
| H A D | plextree.c | 963 PetscCall(DMSetLabelValue(dm, "canonical", p, canon)); in DMPlexSetTree_Internal() 964 …for (i = 0; i < numChildren; i++) PetscCall(DMSetLabelValue(dm, "canonical", children[i], cChildre… in DMPlexSetTree_Internal()
|
| H A D | plex.c | 2097 for (c = cStart; c < cEnd; ++c) PetscCall(DMSetLabelValue(dm, "Cell Sets", c, 1)); in DMView_Plex()
|
| /petsc/src/dm/impls/forest/tests/ |
| H A D | ex2.c | 15 for (p = pStart; p < pEnd; p++) PetscCall(DMSetLabelValue(dm, "identity", p, p)); in AddIdentityLabel()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdm.pxi | 180 PetscErrorCode DMSetLabelValue(PetscDM, const char[], PetscInt, PetscInt)
|
| H A D | DM.pyx | 2107 petsc.DMSetLabelValue 2113 CHKERR(DMSetLabelValue(self.dm, cname, cpoint, cvalue))
|
| /petsc/src/snes/tutorials/ |
| H A D | ex77.c | 299 …if (PetscAbs(faceCoord - b * 1.0) < PETSC_SMALL) PetscCall(DMSetLabelValue(*dm, "Faces", faces[f],… in CreateMesh()
|
| H A D | ex56.c | 275 PetscCall(DMSetLabelValue(dm, "Faces", faces[f], d * 2 + b + 1)); in main()
|
| /petsc/include/ |
| H A D | petscdm.h | 399 PETSC_EXTERN PetscErrorCode DMSetLabelValue(DM, const char[], PetscInt, PetscInt);
|
| /petsc/src/dm/impls/plex/exodusii/ |
| H A D | plexexodusii2.c | 1888 if (!fs_name_err) PetscCall(DMSetLabelValue(*dm, fs_name, faces[0], fs_id[fs])); in DMPlexCreateExodus()
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 2104 for (p = 0; p < P4EST_INSUL; p++) PetscCall(DMSetLabelValue(dmRoot, "identity", p, p)); in DMCreateReferenceTree_pforest() 2105 for (p = 0; p < nPoints; p++) PetscCall(DMSetLabelValue(dmRefined, "identity", p, ident[p])); in DMCreateReferenceTree_pforest()
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 6889 PetscErrorCode DMSetLabelValue(DM dm, const char name[], PetscInt point, PetscInt value) in DMSetLabelValue() function
|