It is currently Mon Oct 07, 2024 6:03 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: computation per timestep
PostPosted: Wed Apr 10, 2019 2:10 am 
Offline

Joined: Mon May 28, 2012 7:38 pm
Posts: 20
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.


Top
 Profile  
 
PostPosted: Thu Nov 28, 2019 2:16 am 
Offline
Site Admin

Joined: Fri Jul 18, 2008 3:04 pm
Posts: 61
Location: Stanford
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.

_________________
Gudlaugur Johannesson, GALPROP developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group