Home
last modified time | relevance | path

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

/petsc/src/dm/impls/da/
H A Ddainterp.c263 … i_c, j_c, i_start_c, j_start_c, n_c, i_start_ghost_c, j_start_ghost_c, col_shift, col_scale; in DMCreateInterpolation_DA_2D_Q1() local
316 col_shift = Mx * My * (rank_f / size_c); in DMCreateInterpolation_DA_2D_Q1()
338 cols[nc++] = col_shift + idx_c[col]; in DMCreateInterpolation_DA_2D_Q1()
340 if (i_c * ratioi != i) cols[nc++] = col_shift + idx_c[col + 1]; 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()
384 cols[nc] = col_shift + idx_c[col]; in DMCreateInterpolation_DA_2D_Q1()
388 cols[nc] = col_shift + idx_c[col + 1]; in DMCreateInterpolation_DA_2D_Q1()
393 cols[nc] = col_shift + idx_c[col + m_ghost_c]; in DMCreateInterpolation_DA_2D_Q1()
398 cols[nc] = col_shift + idx_c[col + (m_ghost_c + 1)]; in DMCreateInterpolation_DA_2D_Q1()
[all …]