PB3D [2.47]
Ideal linear high-n MHD stability in 3-D
Loading...
Searching...
No Matches
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.
subroutine x_vars::init_x_2 (x, mds, grid_x, lim_sec_x, is_field_averaged)
 Initializes a tensorial perturbation.
subroutine x_vars::copy_x_1 (x_i, mds, grid_i, x_o)
 Deep copy of vectorial perturbation variables.
subroutine x_vars::copy_x_2 (x_i, mds, grid_i, x_o)
 Deep copy of tensorial perturbation variables.
integer function, public x_vars::set_nn_mod (sym, lim_sec_x)
 Sets number of entries for tensorial perturbation variables.
subroutine x_vars::dealloc_mds (mds)
 Deallocates modes variables.
subroutine x_vars::dealloc_x_1 (x)
 Deallocates vectorial perturbation variables.
subroutine x_vars::dealloc_x_2 (x)
 Deallocates tensorial perturbation variables.

Variables

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