Hello,

Is there a way by which the timestep of the explicit forward Euler  
method can be modified during the iterations? Looking at the source  
code of the method, the timestep dt is set when entering the function  
TSStep_Euler(). The iteration proceeds with this fixed timestep even  
calling TSSetTimeStep() in a monitoring function. I personally find  
it's a bit confusing. The actual solution is obtained with fixed  
timestep. However,  the time returned from calling TSGetTime() takes  
into account any modifications made by the user. Thanks.

Regards,

Ningyu 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080423/f0797c4c/attachment.htm>

Reply via email to