Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Explicitly set the attributes to write #571

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions mpi-tests/verify_parcel_merging.f90
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
program verify_parcel_merging
use constants, only : pi, zero, one, f12, f23, twopi
use parcel_container
use options, only : parcel
use options, only : parcel, output
use parameters, only : update_parameters, lower, extent, nx, ny, nz, max_num_parcels
use parcel_init, only : parcel_default
use parcel_mpi, only : parcel_communicate
Expand Down Expand Up @@ -64,6 +64,19 @@ program verify_parcel_merging
world%err)
call stop_timer(allreduce_timer)

output%parcel_list(1) = 'volume'
output%parcel_list(2) = 'x_position'
output%parcel_list(3) = 'y_position'
output%parcel_list(4) = 'z_position'
output%parcel_list(5) = 'buoyancy'
output%parcel_list(6) = 'x_vorticity'
output%parcel_list(7) = 'y_vorticity'
output%parcel_list(8) = 'z_vorticity'
output%parcel_list(9) = 'B11'
output%parcel_list(10) = 'B12'
output%parcel_list(11) = 'B13'
output%parcel_list(12) = 'B22'
output%parcel_list(13) = 'B23'
call create_netcdf_parcel_file('initial', .true., .false.)
call write_netcdf_parcels(t = 0.0d0)
else
Expand Down Expand Up @@ -166,7 +179,7 @@ subroutine parse_command_line
else if (arg == '--size_factor') then
i = i + 1
call get_command_argument(i, arg)
read(arg,'(i6)') parcel%size_factor
read(arg,'(f16.0)') parcel%size_factor
else if (arg == '--lx') then
i = i + 1
call get_command_argument(i, arg)
Expand Down