Skip to content

Commit

Permalink
Make default QLGYRO not restart linear runs
Browse files Browse the repository at this point in the history
  • Loading branch information
bpatel2107 committed Jul 11, 2024
1 parent db656d3 commit 4f45830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qlgyro/src/qlgyro_cgyro_cleanup.F90
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ subroutine qlgyro_cgyro_cleanup
if (adjoint .eq. 0) then
open(unit=io, iostat=i_err, file=trim(runpath)//runfile_restart_tag, status='old')
if (i_err == 0) close(io, status='delete')
if (restart_mode .eq. 1) then
if (restart_mode .eq. 0) then
open(unit=io, iostat=i_err, file=trim(runpath)//runfile_restart, status='old')
if (i_err == 0) close(io, status='delete')
end if
Expand Down

0 comments on commit 4f45830

Please sign in to comment.