function
   
petsc-3.4.1 2013-06-10
err = exTS_odefunction(ts,time,x,xdot,f,ctx) % % Example of a function needed by TS % err = 0; f(:) = xdot(:) + x(:);