function
   
petsc-3.3-p3 2012-08-29
err = exTS_odefunction(ts,time,x,xdot,f,ctx) % % Example of a function needed by TS % err = 0; f(:) = xdot(:) + x(:);