GALPROP
https://galprop.stanford.edu/forum/

computation per timestep
https://galprop.stanford.edu/forum/viewtopic.php?f=3&t=253
Page 1 of 1

Author:  lw840305 [ Wed Apr 10, 2019 2:10 am ]
Post subject:  computation per timestep

Dear all,
When I read propel.cc source file, I find when calculating the time-dependent propagation equation, for each time step, the computation would repeat 20 times, i.e. timestep_repeat = 20. I think the well-known Crank-Nicolson theme is unconditionally stable. Why does the computation repeat 20 times ?

Thank you very much for your reply.

Author:  gudlaugu [ Thu Nov 28, 2019 2:16 am ]
Post subject:  Re: computation per timestep

Sorry for the late reply. The code is meant to repeat until a steady state solution at each timestep. Hence we need several iterations at each timestep.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/