5#include <PB3D_macros.h>
33 real(
dp),
allocatable ::
r_h(:,:)
34 real(
dp),
allocatable ::
z_h(:,:)
70 &trim(
i2str(mem_diff))//
'kB deallocating HELENA')
Variables pertaining to the different grids used.
Variables that have to do with HELENA quantities.
integer, public ias
0 if top-bottom symmetric, 1 if not
integer, public nchi
nr. of poloidal points
real(dp), dimension(:,:), allocatable, public r_h
major radius (xout)
real(dp), dimension(:,:), allocatable, public h_h_33
upper metric factor (1 / gem12)
real(dp), dimension(:,:), allocatable, public rbphi_h
real(dp), dimension(:,:), allocatable, public pres_h
pressure profile
real(dp), dimension(:,:), allocatable, public z_h
height (yout)
real(dp), dimension(:,:), allocatable, public q_saf_h
safety factor
real(dp), dimension(:), allocatable, public chi_h
poloidal angle
real(dp), public bmtog_h
B_geo/B_mag.
real(dp), dimension(:,:), allocatable, public h_h_12
upper metric factor (gem12)
real(dp), dimension(:,:), allocatable, public flux_p_h
poloidal flux
real(dp), dimension(:,:), allocatable, public h_h_11
upper metric factor (gem11)
subroutine, public dealloc_hel
Deallocates HELENA quantities that are not used any more.
real(dp), dimension(:,:), allocatable, public rot_t_h
rotational transform
real(dp), public rmtog_h
R_geo/R_mag.
real(dp), dimension(:,:), allocatable, public flux_t_h
toroidal flux
Numerical utilities related to giving output.
integer function, public get_mem_usage()
Returns the memory usage in kilobytes.
subroutine, public writo(input_str, persistent, error, warning, alert)
Write output to file identified by output_i.
Numerical variables used by most other modules.
integer, parameter, public dp
double precision
real(dp), parameter, public pi
logical, public print_mem_usage
print memory usage is printed
integer, parameter, public max_str_ln
maximum length of strings
integer, public rank
MPI rank.
Operations concerning giving output, on the screen as well as in output files.
elemental character(len=max_str_ln) function, public i2str(k)
Convert an integer to string.
Variables pertaining to the perturbation quantities.
vectorial perturbation type
tensorial perturbation type