Lines Matching refs:ratiok
740 … row, col, i_start_ghost, j_start_ghost, cols[8], mx, m_c, my, nc, ratioi, ratioj, ratiok; in DMCreateInterpolation_DA_3D_Q1() local
775 ratiok = 1; in DMCreateInterpolation_DA_3D_Q1()
778 ratiok = mz / Mz; in DMCreateInterpolation_DA_3D_Q1()
779 …PetscCheck(ratiok * Mz == mz, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Ratio between levels: mz/Mz … in DMCreateInterpolation_DA_3D_Q1()
782 ratiok = (mz - 1) / (Mz - 1); in DMCreateInterpolation_DA_3D_Q1()
783 …PetscCheck(ratiok * (Mz - 1) == mz - 1, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Ratio between leve… in DMCreateInterpolation_DA_3D_Q1()
806 l_c = (l / ratiok); 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()
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()
920 nzeta = ratiok + 1; in DMCreateInterpolation_DA_3D_Q1()
936 l_c = (l / ratiok); in DMCreateInterpolation_DA_3D_Q1()
943 lk = l - ratiok * (l / ratiok); in DMCreateInterpolation_DA_3D_Q1()
1179 PetscInt mx, my, mz, ratioi, ratioj, ratiok; in DMCreateInjection_DA_3D() local
1210 ratiok = mz / Mz; in DMCreateInjection_DA_3D()
1211 …PetscCheck(ratiok * Mz == mz, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Ratio between levels: mz/Mz … in DMCreateInjection_DA_3D()
1213 ratiok = (mz - 1) / (Mz - 1); in DMCreateInjection_DA_3D()
1214 …PetscCheck(ratiok * (Mz - 1) == mz - 1, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Ratio between leve… in DMCreateInjection_DA_3D()
1233 PetscInt i_f = i * ratioi, j_f = j * ratioj, k_f = k * ratiok; in DMCreateInjection_DA_3D()