Lines Matching refs:n0
211 PetscMPIInt n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n14; in DMSetUp_DA_3D() local
547 n0 = rank - m * n - m - 1; in DMSetUp_DA_3D()
579 n0 = rank - 1 - (m * n); in DMSetUp_DA_3D()
603 n0 = rank + m * (n - 1) - 1 - (m * n); in DMSetUp_DA_3D()
627 n0 = size - (m * n) + rank - m - 1; in DMSetUp_DA_3D()
651 n0 = size - m * n + rank + m - 1 - m; in DMSetUp_DA_3D()
663 n0 = rank + m * n - 1 - m * n; in DMSetUp_DA_3D()
699 n0 = size - m + rank - 1; in DMSetUp_DA_3D()
723 if ((xs == 0) && (ys == 0) && (zs == 0)) n0 = size - 1; in DMSetUp_DA_3D()
736 if (xs == 0) n0 = n3 = n6 = n9 = n12 = n15 = n18 = n21 = n24 = -2; in DMSetUp_DA_3D()
742 if (ys == 0) n0 = n1 = n2 = n9 = n10 = n11 = n18 = n19 = n20 = -2; in DMSetUp_DA_3D()
748 if (zs == 0) n0 = n1 = n2 = n3 = n4 = n5 = n6 = n7 = n8 = -2; in DMSetUp_DA_3D()
754 dd->neighbors[0] = n0; in DMSetUp_DA_3D()
785 sn0 = n0; in DMSetUp_DA_3D()
805 …n0 = n1 = n2 = n3 = n5 = n6 = n7 = n8 = n9 = n11 = n15 = n17 = n18 = n19 = n20 = n21 = n23 = n24 =… in DMSetUp_DA_3D()
814 if (n0 >= 0) { /* left below */ in DMSetUp_DA_3D()
815 x_t = lx[n0 % m]; in DMSetUp_DA_3D()
816 y_t = ly[(n0 % (m * n)) / m]; in DMSetUp_DA_3D()
817 z_t = lz[n0 / (m * n)]; in DMSetUp_DA_3D()
818 s_t = bases[n0] + x_t * y_t * z_t - (s_y - i) * x_t - s_x - (s_z - k - 1) * x_t * y_t; in DMSetUp_DA_3D()
819 … if (twod && (s_t < 0)) s_t = bases[n0] + x_t * y_t * z_t - (s_y - i) * x_t - s_x; /* 2D case */ in DMSetUp_DA_3D()
1074 n0 = sn0; in DMSetUp_DA_3D()
1105 if (n0 >= 0) { /* left below */ in DMSetUp_DA_3D()
1106 x_t = lx[n0 % m]; in DMSetUp_DA_3D()
1107 y_t = ly[(n0 % (m * n)) / m]; in DMSetUp_DA_3D()
1108 z_t = lz[n0 / (m * n)]; in DMSetUp_DA_3D()
1109 s_t = bases[n0] + x_t * y_t * z_t - (s_y - i) * x_t - s_x - (s_z - k - 1) * x_t * y_t; in DMSetUp_DA_3D()