Home
last modified time | relevance | path

Searched refs:PetscOptionsGetInt (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/petsc/src/sys/tests/
H A Dex20.c29 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 Dex23.c18 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 Dex22.c19 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 Dex38.c19 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 Dex14.c21 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 Dex11.c24 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 Dex7.c22 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 Dex33.c30 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 Dex1.c20 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 Dex53.c42 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 Dex23.c22 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 Dex15.c18 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 Dex35.c22 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 Dex6.c29 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 Dex46.c21 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 Dex51.c26 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 Dex4.c28 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 Dex21.c23 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 Dex10.c32 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 Dex9.c24 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 Dex5f.F9035 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 Dex20.c19 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 Dex3.c101 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 Dex44.c25 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 Dex238.c15 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()

12345678910>>...20