Home
last modified time | relevance | path

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

/petsc/src/dm/impls/da/
H A Ddainterp.c261 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c, *dnz, *onz; in DMCreateInterpolation_DA_2D_Q1() local
293 …PetscCall(DMDAGetGhostCorners(daf, &i_start_ghost, &j_start_ghost, NULL, &m_ghost, &n_ghost, NULL)… in DMCreateInterpolation_DA_2D_Q1()
489 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c, *dnz, *onz; in DMCreateInterpolation_DA_2D_Q0() local
511 …PetscCall(DMDAGetGhostCorners(daf, &i_start_ghost, &j_start_ghost, NULL, &m_ghost, &n_ghost, NULL)… in DMCreateInterpolation_DA_2D_Q0()
610 PetscInt m_ghost, n_ghost, p_ghost, m_ghost_c, n_ghost_c, p_ghost_c, nc, *dnz, *onz; in DMCreateInterpolation_DA_3D_Q0() local
636 …etGhostCorners(daf, &i_start_ghost, &j_start_ghost, &l_start_ghost, &m_ghost, &n_ghost, &p_ghost)); in DMCreateInterpolation_DA_3D_Q0()
666 …row = idx_f[(m_ghost * n_ghost * (l - l_start_ghost) + m_ghost * (j - j_start_ghost) + (i - i_star… in DMCreateInterpolation_DA_3D_Q0()
709 …row = idx_f[(m_ghost * n_ghost * (l - l_start_ghost) + m_ghost * (j - j_start_ghost) + (i - i_star… in DMCreateInterpolation_DA_3D_Q0()
739 PetscInt m_ghost, n_ghost, m_ghost_c, n_ghost_c, Mz, mz; in DMCreateInterpolation_DA_3D_Q1() local
787 …etGhostCorners(daf, &i_start_ghost, &j_start_ghost, &l_start_ghost, &m_ghost, &n_ghost, &p_ghost)); in DMCreateInterpolation_DA_3D_Q1()
[all …]
/petsc/src/dm/impls/stag/
H A Dstag1d.c95 PetscInt start_ghost, n_ghost, s; in DMStagSetUniformCoordinatesExplicit_1d() local
110 PetscCall(DMStagGetGhostCorners(dmCoord, &start_ghost, NULL, NULL, &n_ghost, NULL, NULL)); in DMStagSetUniformCoordinatesExplicit_1d()
115 for (PetscInt ind = start_ghost; ind < start_ghost + n_ghost; ++ind) { in DMStagSetUniformCoordinatesExplicit_1d()
H A Dstag2d.c134 PetscInt ind[2], start_ghost[2], n_ghost[2], s, c; in DMStagSetUniformCoordinatesExplicit_2d() local
153 …gGetGhostCorners(dmCoord, &start_ghost[0], &start_ghost[1], NULL, &n_ghost[0], &n_ghost[1], NULL)); in DMStagSetUniformCoordinatesExplicit_2d()
160 for (ind[1] = start_ghost[1]; ind[1] < start_ghost[1] + n_ghost[1]; ++ind[1]) { in DMStagSetUniformCoordinatesExplicit_2d()
161 for (ind[0] = start_ghost[0]; ind[0] < start_ghost[0] + n_ghost[0]; ++ind[0]) { in DMStagSetUniformCoordinatesExplicit_2d()
H A Dstag3d.c206 PetscInt ind[3], start_ghost[3], n_ghost[3], s, c; in DMStagSetUniformCoordinatesExplicit_3d() local
230 …mCoord, &start_ghost[0], &start_ghost[1], &start_ghost[2], &n_ghost[0], &n_ghost[1], &n_ghost[2])); in DMStagSetUniformCoordinatesExplicit_3d()
238 for (ind[2] = start_ghost[2]; ind[2] < start_ghost[2] + n_ghost[2]; ++ind[2]) { in DMStagSetUniformCoordinatesExplicit_3d()
239 for (ind[1] = start_ghost[1]; ind[1] < start_ghost[1] + n_ghost[1]; ++ind[1]) { in DMStagSetUniformCoordinatesExplicit_3d()
240 for (ind[0] = start_ghost[0]; ind[0] < start_ghost[0] + n_ghost[0]; ++ind[0]) { in DMStagSetUniformCoordinatesExplicit_3d()