From d5e63e4c9aaeb23c8aa4aefa122a69f430906ed0 Mon Sep 17 00:00:00 2001 From: HanneThienpondt <76125875+HanneThienpondt@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:38:19 +0200 Subject: [PATCH] Fix bug: sign_torflux needs to be public not local --- geo/stella_geometry.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geo/stella_geometry.f90 b/geo/stella_geometry.f90 index 0a335309d3..f94236310d 100644 --- a/geo/stella_geometry.f90 +++ b/geo/stella_geometry.f90 @@ -72,6 +72,7 @@ module stella_geometry real, dimension(:), allocatable :: alpha real, dimension(:, :), allocatable :: zeta + integer :: sign_torflux integer :: geo_option_switch integer, parameter :: geo_option_local = 1 integer, parameter :: geo_option_inputprof = 2 @@ -121,7 +122,6 @@ subroutine init_geometry(nalpha, naky) real :: dpsidrho, dpsidrho_psi0 real :: new_zeta_min integer :: iy, ia, iz - integer :: sign_torflux integer :: dxdXcoord_sign, dydalpha_sign real :: field_period_ratio, bmag_z0 real, dimension(:, :), allocatable :: grad_alpha_grad_alpha