Home
last modified time | relevance | path

Searched refs:ratiok (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/da/
H A Ddainterp.c740 … 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()
[all …]