Lines Matching refs:m_ghost_c

43   PetscInt               m_ghost, m_ghost_c;  in DMCreateInterpolation_DA_1D_Q1()  local
69 PetscCall(DMDAGetGhostCorners(dac, &i_start_ghost_c, NULL, NULL, &m_ghost_c, NULL, NULL)); in DMCreateInterpolation_DA_1D_Q1()
175 PetscInt m_ghost, m_ghost_c; in DMCreateInterpolation_DA_1D_Q0() local
202 PetscCall(DMDAGetGhostCorners(dac, &i_start_ghost_c, NULL, NULL, &m_ghost_c, NULL, NULL)); in DMCreateInterpolation_DA_1D_Q0()
261 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c, *dnz, *onz; in DMCreateInterpolation_DA_2D_Q1() local
298 …PetscCall(DMDAGetGhostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, NULL, &m_ghost_c, &n_ghost_… in DMCreateInterpolation_DA_2D_Q1()
337 col = (m_ghost_c * (j_c - j_start_ghost_c) + (i_c - i_start_ghost_c)); in DMCreateInterpolation_DA_2D_Q1()
342 if (j_c * ratioj != j) cols[nc++] = col_shift + idx_c[col + m_ghost_c]; in DMCreateInterpolation_DA_2D_Q1()
344 … if (i_c * ratioi != i && j_c * ratioj != j) cols[nc++] = col_shift + idx_c[col + (m_ghost_c + 1)]; in DMCreateInterpolation_DA_2D_Q1()
383 col = (m_ghost_c * (j_c - j_start_ghost_c) + (i_c - i_start_ghost_c)); in DMCreateInterpolation_DA_2D_Q1()
393 cols[nc] = col_shift + idx_c[col + m_ghost_c]; in DMCreateInterpolation_DA_2D_Q1()
398 cols[nc] = col_shift + idx_c[col + (m_ghost_c + 1)]; in DMCreateInterpolation_DA_2D_Q1()
434 col = (m_ghost_c * (j_c - j_start_ghost_c) + (i_c - i_start_ghost_c)); in DMCreateInterpolation_DA_2D_Q1()
449 col = (m_ghost_c * (j_c - j_start_ghost_c) + (i_c - i_start_ghost_c)); in DMCreateInterpolation_DA_2D_Q1()
452 cols[2] = col_shift + idx_c[col + m_ghost_c]; /* left, above */ in DMCreateInterpolation_DA_2D_Q1()
453 cols[3] = col_shift + idx_c[col + (m_ghost_c + 1)]; /* right, above */ in DMCreateInterpolation_DA_2D_Q1()
489 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c, *dnz, *onz; in DMCreateInterpolation_DA_2D_Q0() local
516 …PetscCall(DMDAGetGhostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, NULL, &m_ghost_c, &n_ghost_… in DMCreateInterpolation_DA_2D_Q0()
555 col = (m_ghost_c * (j_c - j_start_ghost_c) + (i_c - i_start_ghost_c)); in DMCreateInterpolation_DA_2D_Q0()
585 col = (m_ghost_c * (j_c - j_start_ghost_c) + (i_c - i_start_ghost_c)); in DMCreateInterpolation_DA_2D_Q0()
610 PetscInt m_ghost, n_ghost, p_ghost, m_ghost_c, n_ghost_c, p_ghost_c, nc, *dnz, *onz; in DMCreateInterpolation_DA_3D_Q0() local
641 …hostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, &l_start_ghost_c, &m_ghost_c, &n_ghost_c, &p_… in DMCreateInterpolation_DA_3D_Q0()
683 …col = (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_ghost_c… in DMCreateInterpolation_DA_3D_Q0()
716 …col = (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_ghost_c) … in DMCreateInterpolation_DA_3D_Q0()
739 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c, Mz, mz; in DMCreateInterpolation_DA_3D_Q1() local
792 …hostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, &l_start_ghost_c, &m_ghost_c, &n_ghost_c, &p_… in DMCreateInterpolation_DA_3D_Q1()
817 …col = (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_ghost_c… in DMCreateInterpolation_DA_3D_Q1()
820 if (j_c * ratioj != j) cols[nc++] = idx_c[col + m_ghost_c]; in DMCreateInterpolation_DA_3D_Q1()
821 if (l_c * ratiok != l) cols[nc++] = idx_c[col + m_ghost_c * n_ghost_c]; in DMCreateInterpolation_DA_3D_Q1()
822 if (j_c * ratioj != j && i_c * ratioi != i) cols[nc++] = idx_c[col + (m_ghost_c + 1)]; in DMCreateInterpolation_DA_3D_Q1()
823 … * ratioj != j && l_c * ratiok != l) cols[nc++] = idx_c[col + (m_ghost_c * n_ghost_c + m_ghost_c)]; in DMCreateInterpolation_DA_3D_Q1()
824 … if (i_c * ratioi != i && l_c * ratiok != l) cols[nc++] = idx_c[col + (m_ghost_c * n_ghost_c + 1)]; in DMCreateInterpolation_DA_3D_Q1()
825 …ratiok != l && j_c * ratioj != j) cols[nc++] = idx_c[col + (m_ghost_c * n_ghost_c + m_ghost_c + 1)… in DMCreateInterpolation_DA_3D_Q1()
868 …col = (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_ghost_c) + (i_… in DMCreateInterpolation_DA_3D_Q1()
879 cols[nc] = idx_c[col + m_ghost_c]; in DMCreateInterpolation_DA_3D_Q1()
884 cols[nc] = idx_c[col + m_ghost_c * n_ghost_c]; in DMCreateInterpolation_DA_3D_Q1()
889 cols[nc] = idx_c[col + (m_ghost_c + 1)]; in DMCreateInterpolation_DA_3D_Q1()
894 cols[nc] = idx_c[col + (m_ghost_c * n_ghost_c + m_ghost_c)]; in DMCreateInterpolation_DA_3D_Q1()
899 cols[nc] = idx_c[col + (m_ghost_c * n_ghost_c + 1)]; in DMCreateInterpolation_DA_3D_Q1()
904 cols[nc] = idx_c[col + (m_ghost_c * n_ghost_c + m_ghost_c + 1)]; in DMCreateInterpolation_DA_3D_Q1()
947 …col = (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_ghost_c) +… in DMCreateInterpolation_DA_3D_Q1()
965 …col = (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_ghost_c) +… in DMCreateInterpolation_DA_3D_Q1()
968 cols[2] = idx_c[col + m_ghost_c]; /* one left and above */ in DMCreateInterpolation_DA_3D_Q1()
969 cols[3] = idx_c[col + (m_ghost_c + 1)]; /* one right and above */ in DMCreateInterpolation_DA_3D_Q1()
971 …cols[4] = idx_c[col + m_ghost_c * n_ghost_c]; /* one left and below and front; o… in DMCreateInterpolation_DA_3D_Q1()
972 …cols[5] = idx_c[col + (m_ghost_c * n_ghost_c + 1)]; /* one right and below, and front … in DMCreateInterpolation_DA_3D_Q1()
973 … cols[6] = idx_c[col + (m_ghost_c * n_ghost_c + m_ghost_c)]; /* one left and above and front*/ in DMCreateInterpolation_DA_3D_Q1()
974 …cols[7] = idx_c[col + (m_ghost_c * n_ghost_c + m_ghost_c + 1)]; /* one right and above and front */ in DMCreateInterpolation_DA_3D_Q1()
1057 PetscInt m_ghost, m_ghost_c; in DMCreateInjection_DA_1D() local
1082 PetscCall(DMDAGetGhostCorners(dac, &i_start_ghost_c, NULL, NULL, &m_ghost_c, NULL, NULL)); in DMCreateInjection_DA_1D()
1113 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c; in DMCreateInjection_DA_2D() local
1145 …PetscCall(DMDAGetGhostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, NULL, &m_ghost_c, &n_ghost_… in DMCreateInjection_DA_2D()
1177 PetscInt m_ghost, n_ghost, p_ghost, m_ghost_c, n_ghost_c, p_ghost_c; in DMCreateInjection_DA_3D() local
1223 …hostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, &k_start_ghost_c, &m_ghost_c, &n_ghost_c, &p_… in DMCreateInjection_DA_3D()
1344 …PetscInt i_start_ghost_c, j_start_ghost_c, l_start_ghost_c, m_ghost_c, n_ghost_c, p_… in DMDACreateAggregates() local
1383 …hostCorners(dac, &i_start_ghost_c, &j_start_ghost_c, &l_start_ghost_c, &m_ghost_c, &n_ghost_c, &p_… in DMDACreateAggregates()
1411 …a = idx_c[dofc * (m_ghost_c * n_ghost_c * (l_c - l_start_ghost_c) + m_ghost_c * (j_c - j_start_gho… in DMDACreateAggregates()