Lines Matching refs:j_c
263 …PetscInt i_c, j_c, i_start_c, j_start_c, n_c, i_start_ghost_c, j_start_ghost_c, col_… in DMCreateInterpolation_DA_2D_Q1() local
325 j_c = (j / ratioj); /* coarse grid node below fine grid node */ in DMCreateInterpolation_DA_2D_Q1()
327 …j_c >= j_start_ghost_c, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Processor's coarse DMDA must lie o… 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()
371 j_c = (j / ratioj); /* coarse grid node below fine grid node */ in DMCreateInterpolation_DA_2D_Q1()
379 y = ((PetscReal)(j - j_c * ratioj)) / ((PetscReal)ratioj); 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()
392 if (j_c * ratioj != j) { in DMCreateInterpolation_DA_2D_Q1()
397 if (j_c * ratioj != j && i_c * ratioi != i) { in DMCreateInterpolation_DA_2D_Q1()
425 j_c = (j / ratioj); /* coarse grid node below fine grid node */ 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()
447 if (j == my - 1) j_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()
491 …PetscInt i_c, j_c, i_start_c, j_start_c, n_c, i_start_ghost_c, j_start_ghost_c, col_… in DMCreateInterpolation_DA_2D_Q0() local
543 j_c = (j / ratioj); /* coarse grid node below fine grid node */ in DMCreateInterpolation_DA_2D_Q0()
545 …j_c >= j_start_ghost_c, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Processor's coarse DMDA must lie o… 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()
582 j_c = (j / ratioj); /* coarse grid node below fine grid node */ 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()
612 …PetscInt i_c, j_c, l_c, i_start_c, j_start_c, l_start_c, i_start_ghost_c, j_start_gh… in DMCreateInterpolation_DA_3D_Q0() local
669 j_c = (j / ratioj); /* coarse grid node below fine grid node */ in DMCreateInterpolation_DA_3D_Q0()
673 …j_c >= j_start_ghost_c, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Processor's coarse DMDA must lie o… 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()
712 j_c = (j / ratioj); /* coarse grid node below fine grid node */ 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()
741 PetscInt i_c, j_c, i_start_c, j_start_c, n_c, i_start_ghost_c, j_start_ghost_c; in DMCreateInterpolation_DA_3D_Q1() local
805 j_c = (j / ratioj); in DMCreateInterpolation_DA_3D_Q1()
808 …j_c >= j_start_ghost_c, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Processor's coarse DMDA must lie o… 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()
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 …if (j_c * ratioj != j && l_c * ratiok != l) cols[nc++] = idx_c[col + (m_ghost_c * n_ghost_c + m_gh… in DMCreateInterpolation_DA_3D_Q1()
825 …if (i_c * ratioi != i && l_c * ratiok != l && j_c * ratioj != j) cols[nc++] = idx_c[col + (m_ghost… in DMCreateInterpolation_DA_3D_Q1()
854 j_c = (j / ratioj); in DMCreateInterpolation_DA_3D_Q1()
863 y = ((PetscReal)(j - j_c * ratioj)) / ((PetscReal)ratioj); 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()
878 if (j_c * ratioj != j) { in DMCreateInterpolation_DA_3D_Q1()
888 if (j_c * ratioj != j && i_c * ratioi != i) { in DMCreateInterpolation_DA_3D_Q1()
893 if (j_c * ratioj != j && l_c * ratiok != l) { in DMCreateInterpolation_DA_3D_Q1()
903 if (i_c * ratioi != i && l_c * ratiok != l && j_c * ratioj != j) { in DMCreateInterpolation_DA_3D_Q1()
935 j_c = (j / ratioj); 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()
962 if (j == my - 1) j_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()
1342 PetscInt i_c, j_c, l_c; in DMDACreateAggregates() local
1407 for (j_c = j_start_c; j_c < j_start_c + n_c; j_c++) { 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()
1419 for (j = j_c * Nf / Nc; j < PetscMin((j_c + 1) * Nf / Nc, Nf); j++) { in DMDACreateAggregates()