Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexsection.c456 PetscInt cStart, cEnd, cEndInterior; in DMCreateLocalSection_Plex() local
495 PetscCall(DMPlexGetCellTypeStratum(dm, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in DMCreateLocalSection_Plex()
497 if (!isFE[f] && cEndInterior >= 0) ++numBC; in DMCreateLocalSection_Plex()
503 if (isFE[f] || cEndInterior < 0) continue; in DMCreateLocalSection_Plex()
504 PetscCall(PetscMalloc1(cEnd - cEndInterior, &newidx)); in DMCreateLocalSection_Plex()
505 for (c = cEndInterior; c < cEnd; ++c) newidx[c - cEndInterior] = c; in DMCreateLocalSection_Plex()
507 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, cEnd - cEndInterior, newidx, PETSC_OWN_POINTER, &bcPoin… in DMCreateLocalSection_Plex()
H A Dplexgeometry.c2978 PetscInt dim, cStart, cEnd, cEndInterior, c, fStart, fEnd, f; in DMPlexComputeGeometryFVM() local
2990 PetscCall(DMPlexGetCellTypeStratum(dm, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in DMPlexComputeGeometryFVM()
2997 if (cEndInterior < 0) cEndInterior = cEnd; in DMPlexComputeGeometryFVM()
2999 for (c = cStart; c < cEndInterior; ++c) { in DMPlexComputeGeometryFVM()
3041 lcentroid = cells[0] >= cEndInterior ? fg->centroid : cL->centroid; in DMPlexComputeGeometryFVM()
3044 rcentroid = cells[1] >= cEndInterior ? fg->centroid : cR->centroid; in DMPlexComputeGeometryFVM()
3059 if (cells[0] < cEndInterior) { in DMPlexComputeGeometryFVM()
3063 if (ncells > 1 && cells[1] < cEndInterior) { in DMPlexComputeGeometryFVM()
3072 for (c = cEndInterior; c < cEnd; ++c) { in DMPlexComputeGeometryFVM()
3207 PetscInt dim, cStart, cEnd, c, cEndInterior, maxNumFaces; in BuildGradientReconstruction_Internal() local
[all …]
/petsc/src/dm/impls/plex/tests/
H A Dex3.c600 PetscInt dim, nvecs, v, cStart, cEnd, cEndInterior; in TestFVGrad() local
652 PetscCall(DMPlexGetCellTypeStratum(dmgrad, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in TestFVGrad()
653 cEndInterior = (cEndInterior < 0) ? cEnd : cEndInterior; in TestFVGrad()
691 for (c = cStart; c < cEndInterior; c++) { in TestFVGrad()
H A Dex8.c653 PetscInt dim, d, cStart, cEnd, cEndInterior, c; in main() local
663 PetscCall(DMPlexGetCellTypeStratum(user.dm, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in main()
664 if (cEndInterior >= 0) cEnd = cEndInterior; in main()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h3725 PetscInt coordStart, coordEnd, p, coordDim, p4estCoordDim, cStart, cEnd, cEndInterior; in DMPforestMapCoordinates() local
3729 PetscCall(DMPlexGetCellTypeStratum(plex, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in DMPforestMapCoordinates()
3730 cEnd = cEndInterior < 0 ? cEnd : cEndInterior; in DMPforestMapCoordinates()
3787 PetscInt cStart, cEnd, cEndInterior; in DMPforestMapCoordinates() local
3790 PetscCall(DMPlexGetCellTypeStratum(plex, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in DMPforestMapCoordinates()
3791 cEnd = cEndInterior < 0 ? cEnd : cEndInterior; in DMPforestMapCoordinates()
3948 PetscInt v, vStart, vEnd, cp, cStart, cEnd, cEndInterior; in DMPforestLocalizeCoordinates() local
3981 PetscCall(DMPlexGetCellTypeStratum(plex, DM_POLYTOPE_FV_GHOST, &cEndInterior, NULL)); in DMPforestLocalizeCoordinates()
3982 cEnd = cEndInterior < 0 ? cEnd : cEndInterior; in DMPforestLocalizeCoordinates()