Searched refs:n_y (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex51.c | 9 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() 30 for (PetscInt j = s_y; j < s_y + n_y + n_e_y; ++j) { in main()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 3761 PetscReal n_y[3][3] = { in TPSNearestPointResJac() local 3767 feval(yreal, &f, grad, n_y); in TPSNearestPointResJac() 3771 for (PetscInt i = 0; i < 3; i++) norm_y[i] = 1. / norm * n[i] * n_y[i][i]; in TPSNearestPointResJac() 3776 for (PetscInt i = 0; i < 3; i++) n_y[0][i] += norm_y[i] * sign; in TPSNearestPointResJac() 3779 norm_y[0] = 1. / norm * (n[0] * n_y[0][0]); in TPSNearestPointResJac() 3780 norm_y[1] = 1. / norm * (n[0] * n_y[0][1] + n[1] * n_y[1][1]); in TPSNearestPointResJac() 3781 norm_y[2] = 1. / norm * (n[0] * n_y[0][2] + n[2] * n_y[2][2]); in TPSNearestPointResJac() 3787 n_y[i][j] = n_y[i][j] / norm - n[i] / norm * norm_y[j]; in TPSNearestPointResJac() 3792 …for (PetscInt i = 0; i < 3; i++) nd_y[i] = n[i] + n_y[0][i] * d[0] + n_y[1][i] * d[1] + n_y[2][i] … in TPSNearestPointResJac() 3800 J[1 + j * 3] = (j == 1) * 1. - 2 * (n_y[1][j] * nd + n[1] * nd_y[j]); in TPSNearestPointResJac() [all …]
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 1559 const auto n_x = X->cmap->n, n_y = Y->cmap->n; in AXPY() local 1565 …Call(PetscInfo(Y, "Performing AXPY %" PetscInt_FMT " x %" PetscInt_FMT " on backend\n", m_y, n_y)); in AXPY() 1579 const auto sub_mat_y = detail::make_submat_iterator(0, m_y, 0, n_y, lda_y, dy.data()); in AXPY()
|