compdyn / partmc

Particle-resolved stochastic atmospheric aerosol model
http://lagrange.mechse.illinois.edu/partmc/
GNU General Public License v2.0
28 stars 16 forks source link

Change timestepping structure in run_part #176

Closed jcurtis2 closed 1 year ago

jcurtis2 commented 2 years ago

run_part both controls the timestepping and calls all the functions individually to progress an entire simulation (from time $t=0$ to $t=t_{\rm max}$. Instead it would be good to be able to run chunks of time, implemented with run_part_timeblock which will simulate from time $t$ to $t + t_{\rm progress}$ (or other specified interval), and a single timestep, implemented with run_part_timestep which runs from time $t$ to $t+\Delta t$.