File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def calculate_surface_averaged_poloidal_field(
9191 return b_plasma_toroidal_on_axis * (ff1 + ff2 ) / (2.0 * np .pi * qbar )
9292
9393 @staticmethod
94- @nb .jit (cache = True )
94+ @nb .njit (cache = True )
9595 def calculate_plasma_inboard_toroidal_field (
9696 b_plasma_toroidal_on_axis : float ,
9797 rmajor : float ,
@@ -117,7 +117,7 @@ def calculate_plasma_inboard_toroidal_field(
117117 return rmajor * b_plasma_toroidal_on_axis / (rmajor - rminor )
118118
119119 @staticmethod
120- @nb .jit (cache = True )
120+ @nb .njit (cache = True )
121121 def calculate_plasma_outboard_toroidal_field (
122122 b_plasma_toroidal_on_axis : float ,
123123 rmajor : float ,
@@ -143,7 +143,7 @@ def calculate_plasma_outboard_toroidal_field(
143143 return rmajor * b_plasma_toroidal_on_axis / (rmajor + rminor )
144144
145145 @staticmethod
146- @nb .jit (cache = True )
146+ @nb .njit (cache = True )
147147 def calculate_toroidal_field_profile (
148148 b_plasma_toroidal_on_axis : float ,
149149 rmajor : float ,
@@ -178,7 +178,7 @@ def calculate_toroidal_field_profile(
178178 return rmajor * b_plasma_toroidal_on_axis / rho
179179
180180 @staticmethod
181- @nb .jit (cache = True )
181+ @nb .njit (cache = True )
182182 def calculate_total_magnetic_field (
183183 b_plasma_toroidal : float , b_plasma_poloidal : float
184184 ) -> float :
You can’t perform that action at this time.
0 commit comments