Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added allocate statement for test particles
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Oct 19, 2021
1 parent 99e2c4c commit ef2af76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/netcdf/netcdf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ module subroutine netcdf_read_particle_info_system(self, iu, plmask, tpmask)
do i = 1, ntp
call tp%info(i)%set_value(status="ACTIVE")
end do
allocate(tpind(ntp))
tpind(:) = pack([(i, i = 1, idmax)], tpmask(:))
end if

Expand Down

0 comments on commit ef2af76

Please sign in to comment.