| /petsc/src/sys/tests/ |
| H A D | ex20.c | 29 PetscCall(PetscOptionsGetInt(NULL, 0, "-zero", &opts[0], 0)); in main() 30 PetscCall(PetscOptionsGetInt(NULL, 0, "-a_one", &opts[1], 0)); in main() 31 PetscCall(PetscOptionsGetInt(NULL, 0, "-a_bb_two", &opts[2], 0)); in main() 32 PetscCall(PetscOptionsGetInt(NULL, 0, "-a_three", &opts[3], 0)); in main() 33 PetscCall(PetscOptionsGetInt(NULL, 0, "-a_cc_ddd_four", &opts[4], 0)); in main() 34 PetscCall(PetscOptionsGetInt(NULL, 0, "-five", &opts[5], 0)); in main() 40 PetscCall(PetscOptionsGetInt(NULL, 0, "-cl_zero", &opts[0], 0)); in main() 41 PetscCall(PetscOptionsGetInt(NULL, 0, "-cl_a_one", &opts[1], 0)); in main() 42 PetscCall(PetscOptionsGetInt(NULL, 0, "-cl_a_bb_two", &opts[2], 0)); in main() 43 PetscCall(PetscOptionsGetInt(NULL, 0, "-cl_a_three", &opts[3], 0)); in main() [all …]
|
| H A D | ex23.c | 18 PetscCall(PetscOptionsGetInt(NULL, 0, "-ts_max_steps", &ts_max_steps, NULL)); in main() 21 PetscCall(PetscOptionsGetInt(NULL, 0, "-foo_max_steps", &foo_max_steps, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, 0, "-snes_max_it", &snes_max_it, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, 0, "-bar_max_it", &bar_max_it, NULL)); in main()
|
| /petsc/src/dm/tests/ |
| H A D | ex22.c | 19 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 20 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-P", &P, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-p", &p, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-s", &s, NULL)); in main() 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-w", &w, NULL)); in main()
|
| H A D | ex38.c | 19 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 20 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-P", &P, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_width", &stencil_width, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_type", (PetscInt *)&stencil_type, NULL)); in main()
|
| H A D | ex14.c | 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main()
|
| H A D | ex11.c | 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main() 27 PetscCall(PetscOptionsGetInt(NULL, NULL, "-s", &s, NULL)); in main() 28 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic_x", &wrap, NULL)); in main() 29 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic_y", &wrap, NULL)); in main()
|
| H A D | ex7.c | 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_width", &stencil_width, NULL)); in main() 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic", &pt, NULL)); in main() 30 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_type", &st, NULL)); in main()
|
| H A D | ex33.c | 30 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 31 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 32 PetscCall(PetscOptionsGetInt(NULL, NULL, "-P", &P, NULL)); in main() 33 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main() 34 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_width", &stencil_width, NULL)); in main() 35 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic", &pt, NULL)); in main() 43 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_type", &st, NULL)); in main()
|
| H A D | ex1.c | 20 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main()
|
| H A D | ex53.c | 42 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mx", &mx, NULL)); in main() 43 PetscCall(PetscOptionsGetInt(NULL, NULL, "-my", &my, NULL)); in main() 44 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mz", &mz, NULL)); in main() 45 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dim", &dim, NULL)); in main() 46 PetscCall(PetscOptionsGetInt(NULL, NULL, "-sliceid", &sliceid, NULL)); in main() 47 PetscCall(PetscOptionsGetInt(NULL, NULL, "-sliceaxis", &sliceaxis, NULL)); in main()
|
| H A D | ex23.c | 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-P", &P, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main() 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_width", &stencil_width, NULL)); in main() 27 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic", &pt, NULL)); in main() 37 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_type", &st, NULL)); in main()
|
| H A D | ex15.c | 18 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dim", &dim, NULL)); in main() 19 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M1, NULL)); in main() 20 PetscCall(PetscOptionsGetInt(NULL, NULL, "-stencil_width", &s, NULL)); in main() 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-ratio", &ratio, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dof", &dof, NULL)); in main()
|
| H A D | ex35.c | 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-X", &X, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-Y", &Y, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-Z", &Z, NULL)); in main()
|
| H A D | ex6.c | 29 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NX", &M, NULL)); in main() 30 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NY", &N, NULL)); in main() 31 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NZ", &P, NULL)); in main() 32 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 33 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 34 PetscCall(PetscOptionsGetInt(NULL, NULL, "-p", &p, NULL)); in main() 35 PetscCall(PetscOptionsGetInt(NULL, NULL, "-s", &s, NULL)); in main() 36 PetscCall(PetscOptionsGetInt(NULL, NULL, "-w", &w, NULL)); in main()
|
| H A D | ex46.c | 21 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NX", &M, NULL)); in main() 22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NY", &N, NULL)); in main() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NZ", &P, NULL)); in main() 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-p", &p, NULL)); in main() 27 PetscCall(PetscOptionsGetInt(NULL, NULL, "-s", &s, NULL)); in main() 28 PetscCall(PetscOptionsGetInt(NULL, NULL, "-w", &w, NULL)); in main()
|
| H A D | ex51.c | 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 27 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 28 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 29 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main()
|
| H A D | ex4.c | 28 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NX", &M, NULL)); in main() 29 PetscCall(PetscOptionsGetInt(NULL, NULL, "-NY", &N, NULL)); in main() 30 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 31 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 32 PetscCall(PetscOptionsGetInt(NULL, NULL, "-s", &s, NULL)); in main() 33 PetscCall(PetscOptionsGetInt(NULL, NULL, "-w", &w, NULL)); in main()
|
| H A D | ex21.c | 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic", &periodicity, NULL)); in test1_DAInjection3d() 104 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mx", &mx, 0)); in main() 105 PetscCall(PetscOptionsGetInt(NULL, NULL, "-my", &my, 0)); in main() 106 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mz", &mz, 0)); in main()
|
| /petsc/src/vec/is/is/tests/ |
| H A D | ex10.c | 32 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 33 PetscCall(PetscOptionsGetInt(NULL, NULL, "-first", &first, NULL)); in main() 34 PetscCall(PetscOptionsGetInt(NULL, NULL, "-step", &step, NULL)); in main() 37 PetscCall(PetscOptionsGetInt(NULL, NULL, "-start", &start, NULL)); in main() 38 PetscCall(PetscOptionsGetInt(NULL, NULL, "-end", &end, NULL)); in main()
|
| /petsc/src/sys/classes/draw/tests/ |
| H A D | ex9.c | 24 PetscCall(PetscOptionsGetInt(NULL, NULL, "-width", &w, NULL)); in main() 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-height", &h, NULL)); in main() 26 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &nn, NULL)); in main() 27 PetscCall(PetscOptionsGetInt(NULL, NULL, "-bins", &b, NULL)); in main() 28 PetscCall(PetscOptionsGetInt(NULL, NULL, "-color", &c, NULL)); in main()
|
| H A D | ex5f.F90 | 35 PetscCallA(PetscOptionsGetInt(PETSC_NULL_OPTIONS, PETSC_NULL_CHARACTER, '-width', w, flg, ierr)) 37 PetscCallA(PetscOptionsGetInt(PETSC_NULL_OPTIONS, PETSC_NULL_CHARACTER, '-height', h, flg, ierr)) 39 PetscCallA(PetscOptionsGetInt(PETSC_NULL_OPTIONS, PETSC_NULL_CHARACTER, '-n', n, flg, ierr))
|
| /petsc/src/sys/tutorials/ |
| H A D | ex20.c | 19 PetscCall(PetscOptionsGetInt(NULL, NULL, "-test1", &int1, &flg1)); in main() 27 PetscCall(PetscOptionsGetInt(NULL, NULL, "-test2", &int2, &flg2)); in main() 29 PetscCall(PetscOptionsGetInt(NULL, NULL, "-test1", &int1, &flg1)); in main()
|
| /petsc/src/dm/tutorials/ |
| H A D | ex3.c | 101 PetscCall(PetscOptionsGetInt(NULL, NULL, "-M", &M, NULL)); in main() 102 PetscCall(PetscOptionsGetInt(NULL, NULL, "-N", &N, NULL)); in main() 103 PetscCall(PetscOptionsGetInt(NULL, NULL, "-P", &P, NULL)); in main() 104 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 105 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, NULL)); in main() 106 PetscCall(PetscOptionsGetInt(NULL, NULL, "-p", &p, NULL)); in main() 107 PetscCall(PetscOptionsGetInt(NULL, NULL, "-dim", &dim, NULL)); in main()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex44.c | 25 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, &flg)); in main() 28 PetscCall(PetscOptionsGetInt(NULL, NULL, "-n", &n, &flg)); in main() 31 PetscCall(PetscOptionsGetInt(NULL, NULL, "-toFirst", &toFirst, &flg)); in main() 34 PetscCall(PetscOptionsGetInt(NULL, NULL, "-toStep", &toStep, &flg)); in main() 37 PetscCall(PetscOptionsGetInt(NULL, NULL, "-fromFirst", &fromFirst, &flg)); in main() 40 PetscCall(PetscOptionsGetInt(NULL, NULL, "-fromStep", &fromStep, &flg)); in main()
|
| /petsc/src/mat/tests/ |
| H A D | ex238.c | 15 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mat_block_size", &bs, NULL)); in main() 16 PetscCall(PetscOptionsGetInt(NULL, NULL, "-its", &its, NULL)); in main() 17 PetscCall(PetscOptionsGetInt(NULL, NULL, "-mat_size", &m, NULL)); in main()
|