Home
last modified time | relevance | path

Searched refs:PetscOptionsGetBool (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/petsc/src/dm/tests/
H A Dex6.c38 PetscCall(PetscOptionsGetBool(NULL, NULL, "-star", &flg, NULL)); in main()
41 PetscCall(PetscOptionsGetBool(NULL, NULL, "-box", &flg, NULL)); in main()
45 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xperiodic", &flg, NULL)); in main()
48 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xghosted", &flg, NULL)); in main()
51 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xnonghosted", &flg, NULL)); in main()
54 PetscCall(PetscOptionsGetBool(NULL, NULL, "-yperiodic", &flg, NULL)); in main()
57 PetscCall(PetscOptionsGetBool(NULL, NULL, "-yghosted", &flg, NULL)); in main()
60 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ynonghosted", &flg, NULL)); in main()
63 PetscCall(PetscOptionsGetBool(NULL, NULL, "-zperiodic", &flg, NULL)); in main()
66 PetscCall(PetscOptionsGetBool(NULL, NULL, "-zghosted", &flg, NULL)); in main()
[all …]
H A Dex46.c30 PetscCall(PetscOptionsGetBool(NULL, NULL, "-star", &flg, NULL)); in main()
33 PetscCall(PetscOptionsGetBool(NULL, NULL, "-box", &flg, NULL)); in main()
37 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xperiodic", &flg, NULL)); in main()
40 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xghosted", &flg, NULL)); in main()
43 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xnonghosted", &flg, NULL)); in main()
46 PetscCall(PetscOptionsGetBool(NULL, NULL, "-yperiodic", &flg, NULL)); in main()
49 PetscCall(PetscOptionsGetBool(NULL, NULL, "-yghosted", &flg, NULL)); in main()
52 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ynonghosted", &flg, NULL)); in main()
55 PetscCall(PetscOptionsGetBool(NULL, NULL, "-zperiodic", &flg, NULL)); in main()
58 PetscCall(PetscOptionsGetBool(NULL, NULL, "-zghosted", &flg, NULL)); in main()
[all …]
H A Dex4.c36 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xperiodic", &flg, NULL)); in main()
39 PetscCall(PetscOptionsGetBool(NULL, NULL, "-yperiodic", &flg, NULL)); in main()
42 PetscCall(PetscOptionsGetBool(NULL, NULL, "-xghosted", &flg, NULL)); in main()
45 PetscCall(PetscOptionsGetBool(NULL, NULL, "-yghosted", &flg, NULL)); in main()
48 PetscCall(PetscOptionsGetBool(NULL, NULL, "-star", &flg, NULL)); in main()
51 PetscCall(PetscOptionsGetBool(NULL, NULL, "-box", &flg, NULL)); in main()
54 PetscCall(PetscOptionsGetBool(NULL, NULL, "-testorder", &testorder, NULL)); in main()
60 PetscCall(PetscOptionsGetBool(NULL, NULL, "-distribute", &flg, NULL)); in main()
107 PetscCall(PetscOptionsGetBool(NULL, NULL, "-local_print", &flg, NULL)); in main()
/petsc/src/sys/objects/
H A Dinit.c251 PetscCall(PetscOptionsGetBool(NULL, NULL, "-checkstack", &checkstack, NULL)); in PetscOptionsCheckInitial_Private()
254 PetscCall(PetscOptionsGetBool(NULL, NULL, "-checkfunctionlist", &PetscPrintFunctionList, NULL)); in PetscOptionsCheckInitial_Private()
273 PetscCall(PetscOptionsGetBool(NULL, NULL, "-malloc_debug", &flg2, &flg3)); in PetscOptionsCheckInitial_Private()
284 PetscCall(PetscOptionsGetBool(NULL, NULL, "-malloc_requested_size", &flg1, &flg2)); in PetscOptionsCheckInitial_Private()
290 PetscCall(PetscOptionsGetBool(NULL, NULL, "-malloc_dump", &mdebug, NULL)); in PetscOptionsCheckInitial_Private()
291 PetscCall(PetscOptionsGetBool(NULL, NULL, "-log_view_memory", &mdebug, NULL)); in PetscOptionsCheckInitial_Private()
298 PetscCall(PetscOptionsGetBool(NULL, NULL, "-log_view_memory", &PetscLogMemory, NULL)); in PetscOptionsCheckInitial_Private()
301 PetscCall(PetscOptionsGetBool(NULL, NULL, "-malloc_coalesce", &flg1, &flg2)); in PetscOptionsCheckInitial_Private()
304 PetscCall(PetscOptionsGetBool(NULL, NULL, "-malloc_hbw", &flg1, NULL)); in PetscOptionsCheckInitial_Private()
309 PetscCall(PetscOptionsGetBool(NULL, NULL, "-memory_view", &flg1, NULL)); in PetscOptionsCheckInitial_Private()
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex52.c139 PetscCall(PetscOptionsGetBool(NULL, NULL, "-random_exact_sol", &flg, NULL)); in main()
154 PetscCall(PetscOptionsGetBool(NULL, NULL, "-view_exact_sol", &flg, NULL)); in main()
176 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_mumps_lu", &flg_mumps, NULL)); in main()
177 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_mumps_ch", &flg_mumps_ch, NULL)); in main()
202 PetscCall(PetscOptionsGetBool(NULL, NULL, "-zero_first_and_last_rows", &flg, NULL)); in main()
214 PetscCall(PetscOptionsGetBool(NULL, NULL, "-print_mumps_memory", &flg, NULL)); in main()
244 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_superlu_lu", &flg_superlu, NULL)); in main()
245 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_superlu_ilu", &flg_ilu, NULL)); in main()
292 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_strumpack_lu", &flg_strumpack, NULL)); in main()
293 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_strumpack_ilu", &flg_ilu, NULL)); in main()
[all …]
H A Dex72.c53 PetscCall(PetscOptionsGetBool(NULL, NULL, "-table", &table, NULL)); in main()
54 PetscCall(PetscOptionsGetBool(NULL, NULL, "-constantnullspace", &constantnullspace, NULL)); in main()
55 PetscCall(PetscOptionsGetBool(NULL, NULL, "-trans", &trans, NULL)); in main()
56 PetscCall(PetscOptionsGetBool(NULL, NULL, "-initialguess", &initialguess, NULL)); in main()
57 PetscCall(PetscOptionsGetBool(NULL, NULL, "-output_solution", &outputSoln, NULL)); in main()
158 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_zeropivot", &flg, NULL)); in main()
167 PetscCall(PetscOptionsGetBool(NULL, NULL, "-check_symmetry", &flg, NULL)); in main()
221 PetscCall(PetscOptionsGetBool(NULL, NULL, "-check_scaling", &flg, NULL)); in main()
335 PetscCall(PetscOptionsGetBool(NULL, NULL, "-cknorm", &cknorm, NULL)); in main()
426 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ksp_reason", &flg, NULL)); in main()
H A Dex87.c40 if (id == 1) PetscCall(PetscOptionsGetBool(NULL, NULL, "-empty_A11", flg, NULL)); in main()
72 PetscCall(PetscOptionsGetBool(NULL, NULL, "-transpose", flg + 1, NULL)); in main()
73 PetscCall(PetscOptionsGetBool(NULL, NULL, "-permute", flg + 2, NULL)); in main()
74 PetscCall(PetscOptionsGetBool(NULL, NULL, "-explicit", flg + 3, NULL)); in main()
101 PetscCall(PetscOptionsGetBool(NULL, NULL, "-diagonal_A11", flg, NULL)); in main()
108 PetscCall(PetscOptionsGetBool(NULL, NULL, "-all_transpose", flg + 1, NULL)); in main()
156 PetscCall(PetscOptionsGetBool(NULL, NULL, "-viewer", flg + 1, NULL)); in main()
159 PetscCall(PetscOptionsGetBool(NULL, NULL, "-successive_solves", flg + 1, NULL)); in main()
H A Dex76.c71 PetscCall(PetscOptionsGetBool(NULL, NULL, "-pc_hpddm_levels_1_st_share_sub_ksp", &flg, &set)); in main()
92 PetscCall(PetscOptionsGetBool(NULL, NULL, "-reset", &flg, NULL)); in main()
103 PetscCall(PetscOptionsGetBool(NULL, NULL, "-set_rhs", &flg, NULL)); in main()
142 PetscCall(PetscOptionsGetBool(NULL, NULL, "-pc_hpddm_define_subdomains", &flg, NULL)); in main()
154 PetscCall(PetscOptionsGetBool(NULL, NULL, "-transpose", &transpose, NULL)); in main()
158 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ksp_use_explicittranspose", &explicit, NULL)); in main()
234 PetscCall(PetscOptionsGetBool(NULL, NULL, "-successive_solves", &flg, NULL)); in main()
244 PetscCall(PetscOptionsGetBool(NULL, NULL, "-pc_hpddm_block_splitting", &flg, NULL)); in main()
307 PetscCall(PetscOptionsGetBool(NULL, NULL, "-viewer", &flg, NULL)); in main()
/petsc/src/ksp/ksp/tests/
H A Dex30.c44 PetscCall(PetscOptionsGetBool(NULL, NULL, "-table", &table, NULL)); in main()
45 PetscCall(PetscOptionsGetBool(NULL, NULL, "-trans", &trans, NULL)); in main()
46 PetscCall(PetscOptionsGetBool(NULL, NULL, "-partition", &partition, NULL)); in main()
47 PetscCall(PetscOptionsGetBool(NULL, NULL, "-initialguess", &initialguess, NULL)); in main()
48 PetscCall(PetscOptionsGetBool(NULL, NULL, "-output_solution", &outputSoln, NULL)); in main()
49 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ckrnorm", &ckrnorm, NULL)); in main()
50 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ckerror", &ckerror, NULL)); in main()
145 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_zeropivot", &flg, NULL)); in main()
156 PetscCall(PetscOptionsGetBool(NULL, NULL, "-set_row_zero", &flg1, NULL)); in main()
168 PetscCall(PetscOptionsGetBool(NULL, NULL, "-check_symmetry", &flg, NULL)); in main()
[all …]
H A Dex31.c26 PetscCall(PetscOptionsGetBool(NULL, NULL, "-partition", &partition, NULL)); in main()
27 PetscCall(PetscOptionsGetBool(NULL, NULL, "-displayIS", &displayIS, NULL)); in main()
28 PetscCall(PetscOptionsGetBool(NULL, NULL, "-displayMat", &displayMat, NULL)); in main()
134 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ksp_reason", &flg, NULL)); in main()
H A Dex8.c85 PetscCall(PetscOptionsGetBool(NULL, NULL, "-random_exact_sol", &flg, NULL)); in main()
107 PetscCall(PetscOptionsGetBool(NULL, NULL, "-setfromoptions_first", &setfromoptions_first, NULL)); in main()
136 PetscCall(PetscOptionsGetBool(NULL, NULL, "-solve", &solve, NULL)); in main()
137 PetscCall(PetscOptionsGetBool(NULL, NULL, "-sameA", &sameA, NULL)); in main()
/petsc/src/mat/tests/
H A Dex258.c23 PetscCall(PetscOptionsGetBool(NULL, NULL, "-conjugate", &conjugate, NULL)); in main()
33 PetscCall(PetscOptionsGetBool(NULL, NULL, "-atb", &flg, NULL)); in main()
37 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ptap", &flg, NULL)); in main()
41 PetscCall(PetscOptionsGetBool(NULL, NULL, "-abt", &flg, NULL)); in main()
H A Dex221.c87 PetscCall(PetscOptionsGetBool(NULL, NULL, "-square_nc", &nc, NULL)); in main()
88 PetscCall(PetscOptionsGetBool(NULL, NULL, "-rows_only", &ronl, NULL)); in main()
89 PetscCall(PetscOptionsGetBool(NULL, NULL, "-randomize", &randomize, NULL)); in main()
90 PetscCall(PetscOptionsGetBool(NULL, NULL, "-submat", &submat, NULL)); in main()
91 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_zerorows", &testzerorows, NULL)); in main()
92 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_diagscale", &testdiagscale, NULL)); in main()
93 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_getdiag", &testgetdiag, NULL)); in main()
94 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_shift", &testshift, NULL)); in main()
95 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_scale", &testscale, NULL)); in main()
96 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_dup", &testdup, NULL)); in main()
[all …]
H A Dex36.c50 PetscCall(PetscOptionsGetBool(NULL, NULL, "-zero", &zero, NULL)); in main()
51 PetscCall(PetscOptionsGetBool(NULL, NULL, "-ignorezero", &ignorezero, NULL)); in main()
52 PetscCall(PetscOptionsGetBool(NULL, NULL, "-insertvals", &insertvals, NULL)); in main()
H A Dex125.c94 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_inertia", &test_inertia, NULL)); in main()
96 PetscCall(PetscOptionsGetBool(NULL, NULL, "-cholesky", &chol, NULL)); in main()
101 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_nest", &flg, NULL)); in main()
106 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_nest_bordered", &flg, NULL)); in main()
133 PetscCall(PetscOptionsGetBool(NULL, NULL, "-expl", &flg, NULL)); in main()
212 PetscCall(PetscOptionsGetBool(NULL, NULL, "-view_factor", &view, NULL)); in main()
213 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_matmatsolve", &testMatMatSolve, NULL)); in main()
214 …PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_matmatsolvetranspose", &testMatMatSolveTranspose,… in main()
215 …PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_matsolvetranspose", &testMatSolveTranspose, NULL)… in main()
217 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_mumps_opts", &test_mumps_opts, NULL)); in main()
/petsc/src/vec/vec/tutorials/
H A Dex10.c31 PetscCall(PetscOptionsGetBool(NULL, NULL, "-binary", &isbinary, NULL)); in main()
33 PetscCall(PetscOptionsGetBool(NULL, NULL, "-hdf5", &ishdf5, NULL)); in main()
36 PetscCall(PetscOptionsGetBool(NULL, NULL, "-adios", &isadios, NULL)); in main()
38 PetscCall(PetscOptionsGetBool(NULL, NULL, "-mpiio", &mpiio_use, NULL)); in main()
39 PetscCall(PetscOptionsGetBool(NULL, NULL, "-sizes_set", &vstage2, NULL)); in main()
40 PetscCall(PetscOptionsGetBool(NULL, NULL, "-type_set", &vstage3, NULL)); in main()
/petsc/src/vec/vec/tests/
H A Dex100cu.cu38 PetscCall(PetscOptionsGetBool(NULL, NULL, "-binary", &isbinary, NULL)); in main()
40 PetscCall(PetscOptionsGetBool(NULL, NULL, "-hdf5", &ishdf5, NULL)); in main()
43 PetscCall(PetscOptionsGetBool(NULL, NULL, "-adios", &isadios, NULL)); in main()
45 PetscCall(PetscOptionsGetBool(NULL, NULL, "-mpiio", &mpiio_use, NULL)); in main()
46 PetscCall(PetscOptionsGetBool(NULL, NULL, "-sizes_set", &vstage2, NULL)); in main()
47 PetscCall(PetscOptionsGetBool(NULL, NULL, "-type_set", &vstage3, NULL)); in main()
H A Dex36.c24 PetscCall(PetscOptionsGetBool(NULL, NULL, "-set_option_negidx", &set_option_negidx, NULL)); in main()
25 PetscCall(PetscOptionsGetBool(NULL, NULL, "-set_values_negidx", &set_values_negidx, NULL)); in main()
26 PetscCall(PetscOptionsGetBool(NULL, NULL, "-get_values_negidx", &get_values_negidx, NULL)); in main()
/petsc/src/sys/error/
H A Derr.h21 ierr = PetscOptionsGetBool(NULL, NULL, "-on_error_malloc_dump", &flg1, NULL); in PetscErrorMemoryMessage()
22 ierr = PetscOptionsGetBool(NULL, NULL, "-malloc_view", &flg2, NULL); in PetscErrorMemoryMessage()
/petsc/src/sys/tests/
H A Dex23.c16 PetscCall(PetscOptionsGetBool(NULL, 0, "-ts_view", &ts_view, NULL)); in main()
19 PetscCall(PetscOptionsGetBool(NULL, 0, "-foo_view", &foo_view, NULL)); in main()
H A Dex80.c19 PetscCall(PetscOptionsGetBool(NULL, NULL, "-with_vec", &flg, NULL)); in main()
25 PetscCall(PetscOptionsGetBool(NULL, NULL, "-with_options", &flg, NULL)); in main()
H A Dex47.c21 PetscCall(PetscOptionsGetBool(NULL, NULL, "-monitor", &monitor, NULL)); in main()
31 PetscCall(PetscOptionsGetBool(NULL, NULL, "-monitor", &monitor, NULL)); in main()
/petsc/src/snes/tests/
H A Dex1.c89 PetscCall(PetscOptionsGetBool(NULL, NULL, "-pc", &pc, NULL)); in main()
92 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_convergence_test", &use_convergence_test, NULL)); in main()
93 PetscCall(PetscOptionsGetBool(NULL, NULL, "-prune_jacobian", &prunejacobian, NULL)); in main()
94 PetscCall(PetscOptionsGetBool(NULL, NULL, "-null_appctx", &null_appctx, NULL)); in main()
95 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_tr_deltamax", &test_tr_deltamax, NULL)); in main()
142 PetscCall(PetscOptionsGetBool(NULL, NULL, "-snes_mf", &matrix_free, NULL)); in main()
145 PetscCall(PetscOptionsGetBool(NULL, NULL, "-snes_mf_operator", &matrix_free_operator, NULL)); in main()
154 PetscCall(PetscOptionsGetBool(NULL, NULL, "-snes_fd_coloring", &fd_coloring, NULL)); in main()
/petsc/src/ml/regressor/tests/
H A Dex3.c125 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_string_viewer", &ctx->flg_string, NULL)); in ConfigureContext()
126 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_ascii_viewer", &ctx->flg_ascii, NULL)); in ConfigureContext()
127 PetscCall(PetscOptionsGetBool(NULL, NULL, "-view_sols", &ctx->flg_view_sol, NULL)); in ConfigureContext()
128 PetscCall(PetscOptionsGetBool(NULL, NULL, "-test_prefix", &ctx->test_prefix, NULL)); in ConfigureContext()
/petsc/src/dm/impls/plex/tests/
H A Dex47.c395 PetscCall(PetscOptionsGetBool(NULL, NULL, "-field", &field, NULL)); in main()
396 PetscCall(PetscOptionsGetBool(NULL, NULL, "-box", &box, NULL)); in main()
397 PetscCall(PetscOptionsGetBool(NULL, NULL, "-quadsmesh", &quadsmesh, NULL)); in main()
398 PetscCall(PetscOptionsGetBool(NULL, NULL, "-trisquadsmesh", &trisquadsmesh, NULL)); in main()
399 PetscCall(PetscOptionsGetBool(NULL, NULL, "-prismsmesh", &prismsmesh, NULL)); in main()
400 PetscCall(PetscOptionsGetBool(NULL, NULL, "-hexprismmesh", &hexprismmesh, NULL)); in main()

12345678910>>...15