Lines Matching refs:n6
211 PetscMPIInt n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n14; in DMSetUp_DA_3D() local
553 n6 = rank - m * n + m - 1; in DMSetUp_DA_3D()
581 n6 = rank + 2 * m - 1 - (m * n); in DMSetUp_DA_3D()
615 n6 = rank - m * (n - 1) - 1 - (m * n); in DMSetUp_DA_3D()
633 n6 = size - (m * n) + rank + m - 1; in DMSetUp_DA_3D()
653 n6 = size - m * n + rank + m - 1 + m; in DMSetUp_DA_3D()
669 n6 = rank - m * (n - 1) + m - 1 - m * n; in DMSetUp_DA_3D()
711 n6 = size - (m * n - rank) - m * (n - 1) - 1; in DMSetUp_DA_3D()
725 if ((xs == 0) && (ye == N) && (zs == 0)) n6 = (size - 1) - m * (n - 1); in DMSetUp_DA_3D()
736 if (xs == 0) n0 = n3 = n6 = n9 = n12 = n15 = n18 = n21 = n24 = -2; in DMSetUp_DA_3D()
743 if (ye == N) n6 = n7 = n8 = n15 = n16 = n17 = n24 = n25 = n26 = -2; in DMSetUp_DA_3D()
748 if (zs == 0) n0 = n1 = n2 = n3 = n4 = n5 = n6 = n7 = n8 = -2; in DMSetUp_DA_3D()
760 dd->neighbors[6] = n6; in DMSetUp_DA_3D()
790 sn6 = n6; 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()
872 if (n6 >= 0) { /* left above */ in DMSetUp_DA_3D()
873 x_t = lx[n6 % m]; in DMSetUp_DA_3D()
874 y_t = ly[(n6 % (m * n)) / m]; in DMSetUp_DA_3D()
875 z_t = lz[n6 / (m * n)]; in DMSetUp_DA_3D()
876 s_t = bases[n6] + i * x_t - s_x + x_t * y_t * z_t - (s_z - k) * x_t * y_t; in DMSetUp_DA_3D()
877 …if (twod && (s_t < 0)) s_t = bases[n6] + i * x_t - s_x + x_t * y_t * z_t - x_t * y_t; /* 2D case */ in DMSetUp_DA_3D()
1079 n6 = sn6; in DMSetUp_DA_3D()
1171 if (n6 >= 0) { /* left above */ in DMSetUp_DA_3D()
1172 x_t = lx[n6 % m]; in DMSetUp_DA_3D()
1173 y_t = ly[(n6 % (m * n)) / m]; in DMSetUp_DA_3D()
1174 z_t = lz[n6 / (m * n)]; in DMSetUp_DA_3D()
1175 s_t = bases[n6] + i * x_t - s_x + x_t * y_t * z_t - (s_z - k) * x_t * y_t; in DMSetUp_DA_3D()