[petsc-users] [TimeStepping] Eventhandler

Moritz Huck moritz.huck at rwth-aachen.de
Sat Feb 2 12:08:40 CST 2019


Hi,
I am trying to use SetEventHandler.
I hav eencountered two "problems":

1. after an event is encountered the next time step is needlessly small 
(h=1e-6), even if a don't change anything in the function (for testing).


2. the integration does not continue at the event encounter
e.g. my eventfunction is g(t,u)=t-1,
the event is found in the step from t= 0.9 to 1.1 at tevent=1
but the next step is not 1+dt but it is 1.1 + dt
I would expect the next step to be 1.+dt

Best Regards,
Moritz
	


More information about the petsc-users mailing list