Debian Codegraph @

examples/petsc/rc_ex9p_impl

raw
1 # you can set options for the nonlinear solver
2
3 #-snes_converged_reason
4 #-snes_type newtonls
5 #-snes_monitor
6 #-snes_atol 1.e-12
7
8 # you can set options for the linear solver
9
10 #-ksp_converged_reason
11 #-ksp_monitor
12 -pc_type jacobi
13
14 # These are some of the methods you can test
15 # Consult the PETSc manual and the web page for many other
16
17 #-ts_type beuler # Backward Euler
18 -ts_type bdf # Backward Differentiation Formulas
19 #-ts_type rosw # Rosenbrock-W
20
21 # Using SDIRK of order 5 with adaptive time stepping
22
23 #-ts_type arkimex
24 #-ts_arkimex_type 5
25 #-ts_arkimex_fully_implicit
26 #-ts_adapt_type basic
27
28 # Used only when using the Mult method for the ODE
29 #-ts_view
30
31 -ts_monitor
32
33 # Dumps log of PETSc code
34 # For 3D runs with large number of local elements you'll notice
35 # that TSJacobianEval will take a large portion of the computation
36 # this is because in this example we are providing both RHS and
37 # I jacobians, and PETSc has to sum them up when using fully
38 # implicit methods
39
40 -log_view