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 28, 2024
1 parent d1459e5 commit b32accf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions moment_kinetics/src/time_advance.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ using ..velocity_moments: update_neutral_density!, update_neutral_qz!
using ..velocity_moments: update_neutral_uzeta!, update_neutral_uz!, update_neutral_ur!
using ..velocity_moments: update_neutral_pzeta!, update_neutral_pz!, update_neutral_pr!
using ..velocity_moments: calculate_ion_moment_derivatives!, calculate_neutral_moment_derivatives!
using ..velocity_moments: update_chodura!
using ..velocity_grid_transforms: vzvrvzeta_to_vpavperp!, vpavperp_to_vzvrvzeta!
using ..boundary_conditions: enforce_boundary_conditions!
using ..boundary_conditions: enforce_neutral_boundary_conditions!
Expand Down Expand Up @@ -1070,9 +1069,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 b32accf

Please sign in to comment.