Searched refs:time_steps (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/tests/ |
| H A D | ex12.c | 14 PetscInt M = 14, time_steps = 20, w = 1, s = 1, localsize, j, i, mybase, myend, globalsize; in main() local 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-time", &time_steps, NULL)); in main() 56 for (j = 0; j < time_steps; j++) { in main()
|
| H A D | ex3.c | 10 PetscInt M = 60, time_steps = 100, localsize, j, i, mybase, myend, *localnodes = NULL; in main() local 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-time", &time_steps, NULL)); in main() 76 for (j = 0; j < time_steps; j++) { in main()
|
| /petsc/src/ts/tests/ |
| H A D | ex2.c | 31 PetscInt time_steps = 100, steps; in main() local 40 PetscCall(PetscOptionsGetInt(NULL, NULL, "-time", &time_steps, NULL)); in main() 90 PetscCall(TSSetMaxSteps(ts, time_steps)); in main()
|
| H A D | ex4.c | 38 PetscInt time_steps = 100, iout, NOUT = 1; in main() local 67 PetscCall(PetscOptionsGetInt(NULL, NULL, "-time", &time_steps, NULL)); in main() 84 PetscCall(TSSetMaxSteps(ts, time_steps)); in main() 155 PetscCall(TSSetMaxSteps(ts, time_steps)); in main()
|