Home
last modified time | relevance | path

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

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