Lines Matching refs:My
286 PetscInt i, j, Mx, My, xs, ys, xm, ym; in FormInitialGuess() local
291 …PetscCall(DMDAGetInfo(da, PETSC_IGNORE, &Mx, &My, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNORE, PETSC_… in FormInitialGuess()
294 hy = 1.0 / (PetscReal)(My - 1); in FormInitialGuess()
318 temp = (PetscReal)(PetscMin(j, My - j - 1)) * hy; in FormInitialGuess()
320 if (i == 0 || j == 0 || i == Mx - 1 || j == My - 1) { in FormInitialGuess()
330 … const PetscReal xx = 2 * (PetscReal)i / (Mx - 1) - 1, yy = 2 * (PetscReal)j / (My - 1) - 1; in FormInitialGuess()
336 … const PetscReal xx = 2 * (PetscReal)i / (Mx - 1) - 1, yy = 2 * (PetscReal)j / (My - 1) - 1; in FormInitialGuess()
367 PetscInt i, j, Mx, My, xs, ys, xm, ym; in FormRHS() local
372 …PetscCall(DMDAGetInfo(da, PETSC_IGNORE, &Mx, &My, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNORE, PETSC_… in FormRHS()
375 hy = 1.0 / (PetscReal)(My - 1); in FormRHS()
380 if (i == 0 || j == 0 || i == Mx - 1 || j == My - 1) { in FormRHS()