Lines Matching refs:l_c
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
670 l_c = (l / ratiol); in DMCreateInterpolation_DA_3D_Q0()
672 …l_c >= l_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()
713 l_c = (l / ratiol); 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()
743 PetscInt l_start_ghost_c, p_ghost_c, l_c, *dnz, *onz; in DMCreateInterpolation_DA_3D_Q1() local
806 l_c = (l / ratiok); in DMCreateInterpolation_DA_3D_Q1()
807 …l_c >= l_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()
821 if (l_c * ratiok != l) cols[nc++] = idx_c[col + m_ghost_c * n_ghost_c]; 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()
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 …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()
855 l_c = (l / ratiok); in DMCreateInterpolation_DA_3D_Q1()
864 z = ((PetscReal)(l - l_c * ratiok)) / ((PetscReal)ratiok); 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()
883 if (l_c * ratiok != l) { in DMCreateInterpolation_DA_3D_Q1()
893 if (j_c * ratioj != j && l_c * ratiok != l) { in DMCreateInterpolation_DA_3D_Q1()
898 if (i_c * ratioi != i && 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()
936 l_c = (l / ratiok); 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()
963 if (l == mz - 1) l_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
1406 for (l_c = l_start_c; l_c < l_start_c + p_c; l_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()
1418 for (l = l_c * Pf / Pc; l < PetscMin((l_c + 1) * Pf / Pc, Pf); l++) { in DMDACreateAggregates()