mabarnes / moment_kinetics

Other
2 stars 4 forks source link

Handle errors separately for each type of plot in timestep_diagnostics() #262

Closed johnomotani closed 2 weeks ago

johnomotani commented 2 weeks ago

It can happen that one type of plot fails, but it is still useful to continue and try to make the following plots, so put a try-catch around each individual plot/animation, rather than around the whole function body.

Also includes a fix for external source indexing in post-processing calculation of advection velocities.