Searched refs:xleft (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/tutorials/eimex/ ! |
| H A D | allen_cahn.c | 17 PetscReal xleft, xright; /* range in x-direction */ member 41 user.xleft = -1.; in main() 116 hx = (user->xright - user->xleft) / (mx - 1); in RHSFunction() 182 hx = (user->xright - user->xleft) / (PetscReal)(user->mx - 1); in FormInitialSolution() 185 x_map = user->xleft + i * hx; in FormInitialSolution()
|
| /petsc/src/ksp/pc/impls/gasm/ ! |
| H A D | gasm.c | 1559 #define PCGASMLocalSubdomainBounds2D(M, N, xleft, ylow, xright, yhigh, first, last, xleft_loc, ylow… argument 1572 *xleft_loc = *ylow_loc == first_row ? PetscMax(first % M, xleft) : xleft; \ 1580 PetscInt width = xright - xleft; \ 1582 *n += PetscMin(PetscMax(*xright_loc - xleft, 0), width); \ 1583 *n -= PetscMin(PetscMax(*xleft_loc - xleft, 0), width); \ 1620 PetscInt xstart, xleft, xright, xleft_loc, xright_loc; in PCGASMCreateSubdomains2D() local 1655 xleft = PetscMax(xstart - overlap, 0); in PCGASMCreateSubdomains2D() 1660 …PCGASMLocalSubdomainBounds2D(M, N, xleft, ylow, xright, yhigh, first, last, (&xleft_loc), (&ylow_l… in PCGASMCreateSubdomains2D() 1703 xleft = x[q][0]; in PCGASMCreateSubdomains2D() 1707 …PCGASMLocalSubdomainBounds2D(M, N, xleft, ylow, xright, yhigh, first, last, (&xleft_loc), (&ylow_l… in PCGASMCreateSubdomains2D() [all …]
|
| /petsc/src/ksp/pc/impls/asm/ ! |
| H A D | asm.c | 1574 PetscInt i, j, height, width, ystart, xstart, yleft, yright, xleft, xright, loc_outer; in PCASMCreateSubdomains2D() local 1596 xleft = xstart - overlap; in PCASMCreateSubdomains2D() 1597 if (xleft < 0) xleft = 0; in PCASMCreateSubdomains2D() 1600 nidx = (xright - xleft) * (yright - yleft); in PCASMCreateSubdomains2D() 1604 count = m * ii + xleft; in PCASMCreateSubdomains2D() 1605 for (jj = xleft; jj < xright; jj++) idx[loc++] = count++; in PCASMCreateSubdomains2D()
|