piernik-dev / piernik

Piernik MHD Code
GNU General Public License v3.0
15 stars 15 forks source link

CRESP substepping #440

Closed mogrodnik closed 3 years ago

mogrodnik commented 3 years ago

Can speed up experiments utilizing CRESP where spectral timesteps are much shorter than timesteps for fluid components. Allows substepping in spectrum update: state of each cell is separately updated in a loop of n_substeps by dt_substep=dt / n_substeps, allowing to ignore spectral timestep when choosing shortest for global domain update.

mogrodnik commented 3 years ago

Check & comment this please