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

Commit

Permalink
Merge branch 'debug' into IntelAdvisor
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Oct 19, 2021
2 parents cc6ae42 + f5807f2 commit 95aaf97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ module subroutine io_param_writer(self, unit, iotype, v_list, iostat, iomsg)
call io_param_writer_one("LTOT_ORIG", param%Ltot_orig(:), unit)
call io_param_writer_one("LORBIT_ORIG", param%Lorbit_orig(:), unit)
call io_param_writer_one("LSPIN_ORIG", param%Lspin_orig(:), unit)
call io_param_writer_one("LESCAPE", param%Lspin_orig(:), unit)
call io_param_writer_one("LESCAPE", param%Lescape(:), unit)
call io_param_writer_one("GMESCAPE",param%GMescape, unit)
call io_param_writer_one("ECOLLISIONS",param%Ecollisions, unit)
call io_param_writer_one("EUNTRACKED",param%Euntracked, unit)
Expand Down
3 changes: 2 additions & 1 deletion src/main/swiftest_driver.f90
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ program swiftest_driver
!$ write(*,'(a)') ' OpenMP parameters:'
!$ write(*,'(a)') ' ------------------'
!$ write(*,'(a,i3,/)') ' Number of threads = ', nthreads
call integration_timer%reset()
write(*, *) " *************** Main Loop *************** "
if (param%lrestart .and. param%lenergy) call nbody_system%conservation_report(param, lterminal=.true.)
call integration_timer%reset()
do iloop = 1, nloops
!> Step the system forward in time
call integration_timer%start()
Expand Down
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 95aaf97

Please sign in to comment.