[petsc-users] ts_type euler

Blaise A Bourdin bourdin at lsu.edu
Mon Nov 26 10:49:38 CST 2012


I am working with a student on converting an existing code from hand-written ODE solver to a TS. In order to validate the port, we want to compare the results of the existing code with the same methods implemented in TS. When running the examples in src/ts/examples/tutorials, it seems that -ts_type euler doesn't work, and that the iterate is simply equal to the initial value. Try for example
	./ex17 -da_grid_x 40 -drawcontours -draw_pause .1 -ts_type euler
in petsc-3.3

Are we missing something?


Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin

More information about the petsc-users mailing list