Skip to content

Commit

Permalink
Remove update_chodura!() call from time_advance!()
Browse files Browse the repository at this point in the history
This was (should have been?) removed in #187, but probably got
reintroduced in a bad merge.
  • Loading branch information
johnomotani committed May 7, 2024
1 parent f9f1c64 commit cdc5425
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions moment_kinetics/src/time_advance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1438,9 +1438,6 @@ function time_advance!(pdf, scratch, scratch_implicit, t, t_params, vz, vr, vzet
end

if write_moments || write_dfns || finish_now
# update the diagnostic chodura condition
update_chodura!(moments,scratch[t_params.n_rk_stages+1].pdf,vpa,vperp,z,r,spectral_objects.r_spectral,composition,geometry,scratch_dummy,advect_objects.z_advect)

# Always synchronise here, regardless of if we changed region or not
begin_serial_region(no_synchronize=true)
_block_synchronize()
Expand Down

0 comments on commit cdc5425

Please sign in to comment.