Lines Matching refs:n0
201 PetscMPIInt rank, size, n0, n1, n2, n3, n5, n6, n7, n8; in DMSetUp_DA_2D() local
442 n0 = n1 - 1; in DMSetUp_DA_2D()
444 n0 = -1; in DMSetUp_DA_2D()
473 if ((n0 < 0) && (n3 < 0) && (n1 < 0)) n0 = size - 1; in DMSetUp_DA_2D()
478 if ((n3 >= 0) && (n0 < 0)) n0 = size - m + rank - 1; in DMSetUp_DA_2D()
486 if ((n1 >= 0) && (n0 < 0)) n0 = rank - 1; in DMSetUp_DA_2D()
493 if ((n3 >= 0) && (n0 < 0)) n0 = size - m + rank - 1; in DMSetUp_DA_2D()
500 if ((n1 >= 0) && (n0 < 0)) n0 = rank - 1; in DMSetUp_DA_2D()
508 dd->neighbors[0] = n0; in DMSetUp_DA_2D()
520 sn0 = n0; in DMSetUp_DA_2D()
524 n0 = n2 = n6 = n8 = -1; in DMSetUp_DA_2D()
532 if (n0 >= 0) { /* left below */ in DMSetUp_DA_2D()
533 x_t = lx[n0 % m]; in DMSetUp_DA_2D()
534 y_t = ly[n0 / m]; in DMSetUp_DA_2D()
535 s_t = bases[n0] + x_t * y_t - (s_y - i) * x_t - s_x; in DMSetUp_DA_2D()
609 n0 = sn0; in DMSetUp_DA_2D()
624 if (n0 >= 0) { /* left below */ in DMSetUp_DA_2D()
625 x_t = lx[n0 % m]; in DMSetUp_DA_2D()
626 y_t = ly[n0 / m]; in DMSetUp_DA_2D()
627 s_t = bases[n0] + x_t * y_t - (s_y - i) * x_t - s_x; in DMSetUp_DA_2D()