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 f168743 commit da86a21
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 @@ -1070,9 +1070,6 @@ function time_advance!(pdf, scratch, t, t_params, vz, vr, vzeta, vpa, vperp, gyr
end

if write_moments || write_dfns || finish_now
# update the diagnostic chodura condition
update_chodura!(moments,scratch[end].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 da86a21

Please sign in to comment.