Skip to content

Commit

Permalink
added tglf_p_prime_elite_in and call to put_elite, made zgeev default
Browse files Browse the repository at this point in the history
  • Loading branch information
gmstaebler committed Dec 12, 2024
1 parent ee9fb09 commit d78ebc4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tglf/src/tglf_eigensolver.f90
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SUBROUTINE tglf_eigensolver
IMPLICIT NONE
!
CHARACTER(1) :: rightvectors
LOGICAL :: use_zgeev = .false.
LOGICAL :: use_zgeev = .true.
INTEGER :: is,js
INTEGER :: j1, j2, j, i
INTEGER :: ifail,ib, jb, ia, ja, ia0, ja0
Expand Down
1 change: 1 addition & 0 deletions tglf/src/tglf_interface.f90
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ module tglf_interface
integer :: tglf_n_elite_in = 700
real :: tglf_q_elite_in = 2.0
real :: tglf_q_prime_elite_in = 16.0
real :: tglf_p_prime_elite_in = 0.0
real :: tglf_R_elite_in(max_ELITE)
real :: tglf_Z_elite_in(max_ELITE)
real :: tglf_Bp_elite_in(max_ELITE)
Expand Down
11 changes: 10 additions & 1 deletion tglf/src/tglf_run.F90
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,16 @@ subroutine tglf_run()
tglf_nfourier_in, &
tglf_fourier_in)

else
elseif (tglf_geometry_flag_in == 3) then

call put_ELITE_geometry(tglf_n_elite_in, &
tglf_q_elite_in, &
tglf_q_prime_elite_in, &
tglf_p_prime_elite_in, &
tglf_R_elite_in, &
tglf_Z_elite_in, &
tglf_Bp_elite_in )
else ! default to s-alpha

call put_s_alpha_geometry(tglf_rmin_sa_in, &
tglf_rmaj_sa_in, &
Expand Down

0 comments on commit d78ebc4

Please sign in to comment.