Skip to content

Commit

Permalink
Update tglf_startup.f90
Browse files Browse the repository at this point in the history
fixed GEOMETRY_FLAG test for SAT_RULE=2 in tglf_startup.f90 so that it just excludes s-alpha geometry.
  • Loading branch information
gmstaebler authored Nov 6, 2023
1 parent da5bbb9 commit bcb33cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tglf/src/tglf_startup.f90
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ SUBROUTINE tglf_startup
xnu_model_in=3
wdia_trapped_in = 1.0
if(units_in.eq."GYRO")units_in = "CGYRO"
if(igeo .ne. 1)then
write(*,*)"SAT_RULE=2 requires Miller geometry, set GEOMETRY_FLAG=1"
if(igeo .eq. 0)then
write(*,*)"GEOMETRY_FLAG=0 cannot be used with SAT_RULE=2"
STOP
endif
endif
Expand Down

0 comments on commit bcb33cd

Please sign in to comment.