Lines Matching refs:Mx
46 PetscInt steps, Mx; in main() local
72 PetscCall(DMDAGetInfo(da, 0, &Mx, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)); in main()
73 dt = 1.0 / (ctx.kappa * Mx * Mx); in main()
153 PetscInt i, Mx, xs, xm; in FormFunction() local
162 …PetscCall(DMDAGetInfo(da, PETSC_IGNORE, &Mx, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNOR… in FormFunction()
164 hx = 1.0 / (PetscReal)Mx; in FormFunction()
207 PetscInt i, xs, xm, Mx, scale = 1, N; in FormInitialSolution() local
216 …PetscCall(DMDAGetInfo(da, PETSC_IGNORE, &Mx, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNOR… in FormInitialSolution()
218 hx = 1.0 / (PetscReal)Mx; in FormInitialSolution()
240 scale = N / Mx; in FormInitialSolution()
279 PetscInt Mx, i, xs, xm, cnt; in MyMonitor() local
295 …PetscCall(DMDAGetInfo(da, PETSC_IGNORE, &Mx, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNORE, PETSC_IGNOR… in MyMonitor()
297 hx = 1.0 / (PetscReal)Mx; in MyMonitor()