Lines Matching refs:lower
33 PetscErrorCode DMDACreatePatchIS(DM da, MatStencil *lower, MatStencil *upper, IS *is, PetscBool off… in DMDACreatePatchIS() argument
63 if (PetscLikely(upper->i - lower->i)) { in DMDACreatePatchIS()
64 nindices = nindices * (upper->i - lower->i); in DMDACreatePatchIS()
69 if (PetscLikely(upper->j - lower->j)) { in DMDACreatePatchIS()
70 nindices = nindices * (upper->j - lower->j); in DMDACreatePatchIS()
76 if (PetscLikely(upper->k - lower->k)) { in DMDACreatePatchIS()
77 nindices = nindices * (upper->k - lower->k); in DMDACreatePatchIS()
90 lower->k = 0; in DMDACreatePatchIS()
94 lower->j = 0; in DMDACreatePatchIS()
120 else k = lower->k - oz; in DMDACreatePatchIS()
125 else j = lower->j - oy; in DMDACreatePatchIS()
128 else i = lower->i - ox; in DMDACreatePatchIS()
226 else k = lower->k - oz; in DMDACreatePatchIS()
231 else j = lower->j - oy; in DMDACreatePatchIS()
234 else i = lower->i - ox; in DMDACreatePatchIS()
430 MatStencil upper, lower; in DMCreateDomainDecompositionScatters_DA() local
450 lower.i = xs; in DMCreateDomainDecompositionScatters_DA()
451 lower.j = ys; in DMCreateDomainDecompositionScatters_DA()
452 lower.k = zs; in DMCreateDomainDecompositionScatters_DA()
456 PetscCall(DMDACreatePatchIS(dm, &lower, &upper, &idis, patchis_offproc)); in DMCreateDomainDecompositionScatters_DA()
457 PetscCall(DMDACreatePatchIS(subdm, &lower, &upper, &isis, patchis_offproc)); in DMCreateDomainDecompositionScatters_DA()
460 lower.i = subinfo.xs; in DMCreateDomainDecompositionScatters_DA()
461 lower.j = subinfo.ys; in DMCreateDomainDecompositionScatters_DA()
462 lower.k = subinfo.zs; in DMCreateDomainDecompositionScatters_DA()
466 PetscCall(DMDACreatePatchIS(dm, &lower, &upper, &odis, patchis_offproc)); in DMCreateDomainDecompositionScatters_DA()
467 PetscCall(DMDACreatePatchIS(subdm, &lower, &upper, &osis, patchis_offproc)); in DMCreateDomainDecompositionScatters_DA()
471 lower.i = subinfo.gxs; in DMCreateDomainDecompositionScatters_DA()
472 lower.j = subinfo.gys; in DMCreateDomainDecompositionScatters_DA()
473 lower.k = subinfo.gzs; in DMCreateDomainDecompositionScatters_DA()
477 PetscCall(DMDACreatePatchIS(dm, &lower, &upper, &gdis, patchis_offproc)); in DMCreateDomainDecompositionScatters_DA()
507 MatStencil lower, upper; in DMDASubDomainIS_Private() local
519 lower.i = info.xs; in DMDASubDomainIS_Private()
520 lower.j = info.ys; in DMDASubDomainIS_Private()
521 lower.k = info.zs; in DMDASubDomainIS_Private()
525 PetscCall(DMDACreatePatchIS(dm, &lower, &upper, &(*iis)[i], patchis_offproc)); in DMDASubDomainIS_Private()
530 lower.i = subinfo.xs; in DMDASubDomainIS_Private()
531 lower.j = subinfo.ys; in DMDASubDomainIS_Private()
532 lower.k = subinfo.zs; in DMDASubDomainIS_Private()
536 PetscCall(DMDACreatePatchIS(dm, &lower, &upper, &(*ois)[i], patchis_offproc)); in DMDASubDomainIS_Private()