Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexfvm.c25 const PetscInt *fcells; in DMPlexApplyLimiter_Internal() local
29 PetscCall(DMPlexGetSupport(dm, face, &fcells)); in DMPlexApplyLimiter_Internal()
35 ncell = cell == fcells[0] ? fcells[1] : fcells[0]; in DMPlexApplyLimiter_Internal()
H A Dplexglvis.c764 PetscInt fStart, fEnd, *fcells; in DMPlexView_GLVis_ASCII() local
769 PetscCall(PetscMalloc1(p, &fcells)); in DMPlexView_GLVis_ASCII()
953 if (PetscLikely(PetscBTLookup(pown, support[c] - cStart))) fcells[nc++] = support[c]; in DMPlexView_GLVis_ASCII()
956 for (c = 0; c < supportSize; c++) fcells[nc++] = support[c]; in DMPlexView_GLVis_ASCII()
963 cell = fcells[c]; in DMPlexView_GLVis_ASCII()
989 PetscCall(PetscFree(fcells)); in DMPlexView_GLVis_ASCII()
H A Dplexgeometry.c3236 const PetscInt *fcells; in BuildGradientReconstruction_Internal() local
3242 PetscCall(DMPlexGetSupport(dm, faces[f], &fcells)); in BuildGradientReconstruction_Internal()
3243 side = (c != fcells[0]); /* c is on left=0 or right=1 of face */ in BuildGradientReconstruction_Internal()
3244 ncell = fcells[!side]; /* the neighbor */ in BuildGradientReconstruction_Internal()
3283 const PetscInt *fcells; in BuildGradientReconstruction_Internal_Tree() local
3294 PetscCall(DMPlexGetSupport(dm, f, &fcells)); in BuildGradientReconstruction_Internal_Tree()
3296 PetscInt cell = fcells[c]; in BuildGradientReconstruction_Internal_Tree()
3310 const PetscInt *fcells; in BuildGradientReconstruction_Internal_Tree() local
3321 PetscCall(DMPlexGetSupport(dm, f, &fcells)); in BuildGradientReconstruction_Internal_Tree()
3323 PetscInt cell = fcells[c], off; in BuildGradientReconstruction_Internal_Tree()
[all …]
/petsc/src/dm/dt/fv/interface/
H A Dfv.c2118 const PetscInt *fcells;
2122 PetscCall(DMPlexGetSupport(dm, faces[f], &fcells));
2127 if (fcells[i] == c) continue;
2128 PetscCall(DMPlexPointLocalRead(dmCell, fcells[i], cgeom, &cg1));