Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tests/
H A Dex51.c9 PetscInt s_x, s_y, s_z, n_x, n_y, n_z, n_e_x, n_e_y, n_e_z, slot_vertex_2; in main() local
26 PetscCall(DMStagGetCorners(dm, &s_x, &s_y, &s_z, &n_x, &n_y, &n_z, &n_e_x, &n_e_y, &n_e_z)); in main()
31 for (PetscInt i = s_x; i < s_x + n_x + n_e_x; ++i) x_array[k][j][i][slot_vertex_2] = 2.0; in main()
/petsc/src/mat/impls/dense/seq/cupm/
H A Dmatseqdensecupm.hpp1559 const auto n_x = X->cmap->n, n_y = Y->cmap->n; in AXPY() local
1560 const auto N = m_x * n_x; in AXPY()
1564 if (!m_x || !n_x || alpha == (PetscScalar)0.0) PetscFunctionReturn(PETSC_SUCCESS); in AXPY()
1580 const auto sub_mat_x = detail::make_submat_iterator(0, m_x, 0, n_x, lda_x, dx.data()); in AXPY()