Lines Matching +full:test +full:- +full:basic
1 static char help[] = "Serial bouncing ball example to test TS event feature.\n";
6 u2_t = -9.8
43 u[1] = -0.9 * u[1]; in PostEventFunction()
45 app->nbounces++; in PostEventFunction()
46 if (app->nbounces >= app->maxbounces) { in PostEventFunction()
47 … PetscCall(PetscPrintf(PETSC_COMM_SELF, "Ball bounced %" PetscInt_FMT " times\n", app->nbounces)); in PostEventFunction()
67 f[1] = -9.8; in RHSFunction()
117 f[0] = udot[0] - u[1]; in IFunction()
140 J[0][1] = -1.0; in IJacobian()
170 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
172 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
181 PetscCall(PetscOptionsInt("-maxbounces", "", "", app.maxbounces, &app.maxbounces, NULL)); in main()
182 PetscCall(PetscOptionsBool("-test_adapthistory", "", "", hist, &hist, NULL)); in main()
191 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
193 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
197 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
199 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
206 PetscCall(PetscOptionsGetBool(NULL, NULL, "-rhs-form", &rhs_form, NULL)); in main()
215 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
217 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
227 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
229 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
235 jumping over the next event zero-crossing point. A maximum step size in main()
241 direction[0] = -1; in main()
247 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
249 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
290 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - in main()
292 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ in main()
301 /*TEST
303 test:
305 args: -snes_stol 1e-4 -ts_trajectory_dirname ex40_a_dir
308 test:
310 args: -ts_type arkimex -snes_stol 1e-4 -ts_trajectory_dirname ex40_b_dir
313 test:
315 …args: -snes_mf_operator -ts_type theta -ts_adapt_type basic -ts_atol 1e-1 -snes_stol 1e-4 -ts_traj…
318 test:
320 …args: -rhs-form -ts_type theta -ts_adapt_type basic -ts_atol 1e-1 -snes_stol 1e-4 -ts_trajectory_d…
323 test:
325 …args: -rhs-form -snes_mf_operator -ts_type theta -ts_adapt_type basic -ts_atol 1e-1 -snes_stol 1e-…
328 test:
330 …args: -ts_type alpha -ts_adapt_type basic -ts_atol 1e-1 -snes_stol 1e-4 -ts_trajectory_dirname ex4…
333 test:
335 args: -ts_type bdf -ts_adapt_dt_max 0.025 -ts_max_steps 1500 -ts_trajectory_dirname ex40_e_dir
338 test:
340 args: -rhs-form -ts_type rk -ts_rk_type 3bs -ts_trajectory_dirname ex40_f_dir
343 test:
345 args: -rhs-form -ts_type rk -ts_rk_type 5bs -ts_trajectory_dirname ex40_g_dir
348 test:
350 args: -rhs-form -ts_type rk -ts_rk_type 6vr -ts_trajectory_dirname ex40_h_dir
353 test:
355 args: -rhs-form -ts_type rk -ts_rk_type 7vr -ts_trajectory_dirname ex40_i_dir
358 test:
360 args: -rhs-form -ts_type rk -ts_rk_type 8vr -ts_trajectory_dirname ex40_j_dir
363 test:
365 args: -ts_type theta -ts_adapt_type dsp -ts_trajectory_dirname ex40_k_dir
368 test:
370 args: -rhs-form -ts_type rk -ts_rk_type 2a -ts_trajectory_dirname ex40_l_dir
371 args: -ts_adapt_type dsp -ts_adapt_always_accept {{false true}} -ts_adapt_dt_min 0.01
374 test:
376 … args: -ts_type alpha -ts_adapt_type basic -ts_atol 1e-1 -snes_stol 1e-4 -test_adapthistory false
377 args: -ts_max_time 10 -ts_exact_final_time {{STEPOVER MATCHSTEP INTERPOLATE}}
379 test:
382 args: -test_adapthistory false
383 args: -ts_type alpha -ts_alpha_radius 1.0 -ts_view
384 args: -ts_time_step 0.25 -ts_adapt_type basic -ts_adapt_wnormtype INFINITY -ts_adapt_monitor
385 …args: -ts_max_steps 1 -ts_max_step_rejections {{0 1 2}separate_output} -ts_error_if_step_fails fal…
387 test:
390 args: -rhs-form -ts_type rk -ts_rk_type 2b -ts_trajectory_dirname ex40_o_dir
392 TEST*/