function
   
petsc-3.5.4 2015-05-23
err = exTS_odefunction(ts,time,x,xdot,f,ctx) % % Example of a function needed by TS % err = 0; f(:) = xdot(:) + x(:);