Home
last modified time | relevance | path

Searched refs:shift2 (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/impls/sell/mpi/
H A Dmpisell.c154 PetscInt i, j, rstart = mat->rmap->rstart, rend = mat->rmap->rend, shift1, shift2; in MatSetValues_MPISELL() local
181 shift2 = b->sliidx[row / sliceheight] + (row % sliceheight); /* starting index of the row */ in MatSetValues_MPISELL()
182 cp2 = PetscSafePointerPlusOffset(b->colidx, shift2); in MatSetValues_MPISELL()
183 vp2 = PetscSafePointerPlusOffset(b->val, shift2); in MatSetValues_MPISELL()
216shift2 = b->sliidx[row / sliceheight] + (row % sliceheight); /* starting index of the row */ in MatSetValues_MPISELL()
217 cp2 = b->colidx + shift2; in MatSetValues_MPISELL()
218 vp2 = b->val + shift2; in MatSetValues_MPISELL()
/petsc/src/dm/impls/plex/
H A Dplexsubmesh.c1261 …PetscInt shift = 100, shift2 = 200, depth = 0, dep, dim, d, sp, maxConeSize, maxSupportSiz… in DMPlexConstructCohesiveCells_Internal() local
1308 PetscCall(DMLabelGetStratumIS(label, shift2 + dep, &unsplitIS[dep])); in DMPlexConstructCohesiveCells_Internal()
1314 PetscCall(DMLabelGetStratumIS(label, shift2 + dim - 1, &ghostIS)); in DMPlexConstructCohesiveCells_Internal()
1441 if (val == (shift2 + 1)) ++qf; in DMPlexConstructCohesiveCells_Internal()
1757 } else if (val == (shift2 + 1)) { in DMPlexConstructCohesiveCells_Internal()
2018 PetscInt dim, numPoints, shift = 100, shift2 = 200, debug = 0; in CheckFaultEdge_Private() local
2082 PetscCall(DMLabelSetValue(label, closure[cl], shift2 + dep)); in CheckFaultEdge_Private()
2083 } else if ((valA >= shift && valA < shift2) || (valA <= -shift && valA > -shift2)) { in CheckFaultEdge_Private()
2104 PetscCall(DMLabelSetValue(label, closure[cl], shift2 + dep)); in CheckFaultEdge_Private()
2113 PetscCall(DMLabelSetValue(label, inclosure[incl], shift2 + indep)); in CheckFaultEdge_Private()
[all …]