PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Interfaces and Types | Modules | Functions/Subroutines | Variables
X_vars.f90 File Reference

Go to the source code of this file.

Interfaces and Types

type  x_vars::modes_type
 mode number type More...
 
type  x_vars::x_1_type
 vectorial perturbation type More...
 
type  x_vars::x_2_type
 tensorial perturbation type More...
 
interface  x_vars::set_nm_x
 Sets n_X and m_X. More...
 

Modules

module  x_vars
 Variables pertaining to the perturbation quantities.
 

Functions/Subroutines

subroutine x_vars::init_x_1 (X, mds, grid_X, lim_sec_X)
 Initializes a vectorial perturbation. More...
 
subroutine x_vars::init_x_2 (X, mds, grid_X, lim_sec_X, is_field_averaged)
 Initializes a tensorial perturbation. More...
 
subroutine x_vars::copy_x_1 (X_i, mds, grid_i, X_o)
 Deep copy of vectorial perturbation variables. More...
 
subroutine x_vars::copy_x_2 (X_i, mds, grid_i, X_o)
 Deep copy of tensorial perturbation variables. More...
 
integer function, public x_vars::set_nn_mod (sym, lim_sec_X)
 Sets number of entries for tensorial perturbation variables. More...
 
subroutine x_vars::dealloc_mds (mds)
 Deallocates modes variables. More...
 
subroutine x_vars::dealloc_x_1 (X)
 Deallocates vectorial perturbation variables. More...
 
subroutine x_vars::dealloc_x_2 (X)
 Deallocates tensorial perturbation variables. More...
 

Variables

type(modes_type), public x_vars::mds_x
 modes variables for perturbation grid More...
 
type(modes_type), public x_vars::mds_sol
 modes variables for solution grid More...
 
integer, public x_vars::prim_x
 n_X (pol. flux) or m_X (tor. flux) More...
 
integer, public x_vars::min_sec_x
 m_X (pol. flux) or n_X (tor. flux) (only for X style 1) More...
 
integer, public x_vars::max_sec_x
 m_X (pol. flux) or n_X (tor. flux) (only for\ c X style 1) More...
 
integer, public x_vars::n_mod_x
 size of m_X (pol. flux) or n_X (tor. flux) More...
 
integer, public x_vars::min_nm_x = 5
 minimum for the high-n theory (debable) More...
 
integer, dimension(:), allocatable, public x_vars::min_n_x
 lowest poloidal mode number m_X, in total eq grid More...
 
integer, dimension(:), allocatable, public x_vars::max_n_x
 highest poloidal mode number m_X, in total eq grid More...
 
integer, dimension(:), allocatable, public x_vars::min_m_x
 lowest poloidal mode number m_X, in total eq grid More...
 
integer, dimension(:), allocatable, public x_vars::max_m_x
 highest poloidal mode number m_X, in total eq grid More...
 
real(dp), public x_vars::min_r_sol
 min. normal range for pert. More...
 
real(dp), public x_vars::max_r_sol
 max. normal range for pert. More...
 
integer, public x_vars::n_alloc_x_1s
 nr. of allocated X_1's More...
 
integer, public x_vars::n_alloc_x_2s
 nr. of allocated X_2's More...