Skip to content

Commit

Permalink
Fix ascii I/O for the ion distribution function
Browse files Browse the repository at this point in the history
  • Loading branch information
johnomotani committed Apr 28, 2024
1 parent 780ce0b commit 7d3a3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moment_kinetics/src/file_io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ function write_data_to_ascii(pdf, moments, fields, vpa, vperp, z, r, t, n_ion_sp
@serial_region begin
# Only read/write from first process in each 'block'

write_f_ascii(pdf.ion.norm, z, vpa, t, ascii_io.ff)
write_f_ascii(pdf, z, vpa, t, ascii_io.ff)
write_moments_ion_ascii(moments.ion, z, r, t, n_ion_species, ascii_io.moments_ion)
if n_neutral_species > 0
write_moments_neutral_ascii(moments.neutral, z, r, t, n_neutral_species, ascii_io.moments_neutral)
Expand Down

0 comments on commit 7d3a3f7

Please sign in to comment.