Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/eimex/
H A Dallen_cahn.c17 PetscReal xleft, xright; /* range in x-direction */ member
42 user.xright = 2.; in main()
116 hx = (user->xright - user->xleft) / (mx - 1); in RHSFunction()
182 hx = (user->xright - user->xleft) / (PetscReal)(user->mx - 1); in FormInitialSolution()
/petsc/src/ksp/pc/impls/gasm/
H A Dgasm.c1559 #define PCGASMLocalSubdomainBounds2D(M, N, xleft, ylow, xright, yhigh, first, last, xleft_loc, ylow… argument
1576 *xright_loc = *yhigh_loc == last_row ? PetscMin(xright, last % M) : xright; \
1580 PetscInt width = xright - xleft; \
1620 PetscInt xstart, xleft, xright, xleft_loc, xright_loc; in PCGASMCreateSubdomains2D() local
1656 xright = PetscMin(xstart + maxwidth + overlap, M); in PCGASMCreateSubdomains2D()
1660 …PCGASMLocalSubdomainBounds2D(M, N, xleft, ylow, xright, yhigh, first, last, (&xleft_loc), (&ylow_l… in PCGASMCreateSubdomains2D()
1704 xright = x[q][1]; in PCGASMCreateSubdomains2D()
1707 …PCGASMLocalSubdomainBounds2D(M, N, xleft, ylow, xright, yhigh, first, last, (&xleft_loc), (&ylow_l… in PCGASMCreateSubdomains2D()
1748 PetscInt x1 = (jj == yhigh_loc - 1) ? xright_loc : xright; in PCGASMCreateSubdomains2D()
/petsc/src/ksp/pc/impls/asm/
H A Dasm.c1574 PetscInt i, j, height, width, ystart, xstart, yleft, yright, xleft, xright, loc_outer; in PCASMCreateSubdomains2D() local
1598 xright = xstart + width + overlap; in PCASMCreateSubdomains2D()
1599 if (xright > m) xright = m; in PCASMCreateSubdomains2D()
1600 nidx = (xright - xleft) * (yright - yleft); in PCASMCreateSubdomains2D()
1605 for (jj = xleft; jj < xright; jj++) idx[loc++] = count++; in PCASMCreateSubdomains2D()