Home
last modified time | relevance | path

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

/petsc/src/dm/tests/
H A Dex3.c11 int width, xbase; in main() local
54 xbase = (int)((mybase) * ((800.0 - 4.0 * size) / M) + 4.0 * rank); in main()
56 …PetscCall(PetscViewerDrawOpen(PETSC_COMM_SELF, 0, "Local Portion of Solution", xbase, 200, width, … in main()
/petsc/src/vec/vec/impls/seq/
H A Ddvec2.c88 const PetscScalar *yy0, *yy1, *yy2, *yy3, *x, *xbase; in VecMDot_Seq() local
96 PetscCall(VecGetArrayRead(xin, &xbase)); in VecMDot_Seq()
97 x = xbase; in VecMDot_Seq()
237 x = xbase; in VecMDot_Seq()
295 PetscCall(VecRestoreArrayRead(xin, &xbase)); in VecMDot_Seq()
306 const PetscScalar *yy0, *yy1, *yy2, *yy3, *x, *xbase; in VecMTDot_Seq() local
310 PetscCall(VecGetArrayRead(xin, &xbase)); in VecMTDot_Seq()
311 x = xbase; in VecMTDot_Seq()
450 x = xbase; in VecMTDot_Seq()
510 PetscCall(VecRestoreArrayRead(xin, &xbase)); in VecMTDot_Seq()
/petsc/src/dm/impls/da/
H A Dda2.c204 PetscInt xbase, *bases, *ldims, j, x_t, y_t, s_t, base, count; in DMSetUp_DA_2D() local
530 xbase = bases[rank]; in DMSetUp_DA_2D()
566 for (j = 0; j < x; j++) idx[nn++] = xbase++; /* interior */ in DMSetUp_DA_2D()
622 xbase = bases[rank]; in DMSetUp_DA_2D()
668 for (j = 0; j < x; j++) idx[nn++] = xbase++; /* interior */ in DMSetUp_DA_2D()