PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Public Member Functions | Public Attributes | List of all members
eq_vars::eq_2_type Type Reference

metric equilibrium type More...

Public Member Functions

procedure init => init_eq_2
 initialize More...
 
procedure copy => copy_eq_2
 copy More...
 
procedure dealloc => dealloc_eq_2
 deallocate More...
 

Public Attributes

real(dp), dimension(:,:,:,:,:,:), allocatable r_e
 R in E(quilibrium) coord. More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable z_e
 Z in E(quilibrium) coords. More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable l_e
 L(ambda) in E(quilibrium) coords. More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable g_c
 in the C(ylindrical) coord. system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable g_e
 in the E(quilibrium) coord. system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable h_e
 in the E(quilibrium) coord. system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable g_f
 in the F(lux) coord. system with derivs. in V(MEC) system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable h_f
 in the F(lux) coord. system with derivs. in V(MEC) system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable g_fd
 in the F(lux) coord. system with derivs in F(lux) system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable h_fd
 in the F(lux) coord. system with derivs in F(lux) system More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable t_vc
 C(ylindrical) to V(MEC) More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable t_ef
 E(quilibrium) to F(lux) More...
 
real(dp), dimension(:,:,:,:,:,:,:), allocatable t_fe
 F(lux) to E(quilibrium) More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable det_t_ef
 determinant of T_EF More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable det_t_fe
 determinant of T_FE More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable jac_e
 jacobian of E(quilibrium) coord. system More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable jac_f
 jacobian of F(lux) coord. system with derivs. in V(MEC) system More...
 
real(dp), dimension(:,:,:,:,:,:), allocatable jac_fd
 jacobian of F(lux) coord. system with derivs. in F(lux) system More...
 
real(dp), dimension(:,:,:), allocatable s
 magnetic shear More...
 
real(dp), dimension(:,:,:), allocatable kappa_n
 normal curvature More...
 
real(dp), dimension(:,:,:), allocatable kappa_g
 geodesic curvature More...
 
real(dp), dimension(:,:,:), allocatable sigma
 parallel current More...
 
real(dp), dimension(2) estim_mem_usage
 expected memory usage More...
 

Detailed Description

metric equilibrium type

The arrays here are of the form

The last index refers to the derivatives in coordinate 1, 2 and 3, which refer to the coordinates described in [17].

The fourth index for tensorial variables correspond to the 9 or 6 (symmetric) different values:

\[ \left( \begin{array}{ccc}1&4&7\\2&5&8\\3&6&9\end{array} \right) \ \text{or} \quad \left( \begin{array}{ccc}1& & \\2&4& \\3&5&6\end{array} \right) \]

Note
Fortran only allows for 7 dimensions in arrays.

Definition at line 114 of file eq_vars.f90.

Member Function/Subroutine Documentation

◆ copy()

procedure eq_vars::eq_2_type::copy

copy

Definition at line 150 of file eq_vars.f90.

◆ dealloc()

procedure eq_vars::eq_2_type::dealloc

deallocate

Definition at line 152 of file eq_vars.f90.

◆ init()

procedure eq_vars::eq_2_type::init

initialize

Definition at line 148 of file eq_vars.f90.

Member Data Documentation

◆ det_t_ef

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::det_t_ef

determinant of T_EF

Definition at line 132 of file eq_vars.f90.

◆ det_t_fe

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::det_t_fe

determinant of T_FE

Definition at line 133 of file eq_vars.f90.

◆ estim_mem_usage

real(dp), dimension(2) eq_vars::eq_2_type::estim_mem_usage

expected memory usage

Note
Debug version only

Definition at line 144 of file eq_vars.f90.

◆ g_c

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::g_c

in the C(ylindrical) coord. system

Definition at line 120 of file eq_vars.f90.

◆ g_e

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::g_e

in the E(quilibrium) coord. system

Definition at line 121 of file eq_vars.f90.

◆ g_f

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::g_f

in the F(lux) coord. system with derivs. in V(MEC) system

Definition at line 123 of file eq_vars.f90.

◆ g_fd

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::g_fd

in the F(lux) coord. system with derivs in F(lux) system

Definition at line 125 of file eq_vars.f90.

◆ h_e

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::h_e

in the E(quilibrium) coord. system

Definition at line 122 of file eq_vars.f90.

◆ h_f

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::h_f

in the F(lux) coord. system with derivs. in V(MEC) system

Definition at line 124 of file eq_vars.f90.

◆ h_fd

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::h_fd

in the F(lux) coord. system with derivs in F(lux) system

Definition at line 126 of file eq_vars.f90.

◆ jac_e

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::jac_e

jacobian of E(quilibrium) coord. system

Definition at line 135 of file eq_vars.f90.

◆ jac_f

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::jac_f

jacobian of F(lux) coord. system with derivs. in V(MEC) system

Definition at line 136 of file eq_vars.f90.

◆ jac_fd

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::jac_fd

jacobian of F(lux) coord. system with derivs. in F(lux) system

Definition at line 137 of file eq_vars.f90.

◆ kappa_g

real(dp), dimension(:,:,:), allocatable eq_vars::eq_2_type::kappa_g

geodesic curvature

Definition at line 141 of file eq_vars.f90.

◆ kappa_n

real(dp), dimension(:,:,:), allocatable eq_vars::eq_2_type::kappa_n

normal curvature

Definition at line 140 of file eq_vars.f90.

◆ l_e

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::l_e

L(ambda) in E(quilibrium) coords.

Definition at line 118 of file eq_vars.f90.

◆ r_e

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::r_e

R in E(quilibrium) coord.

Definition at line 116 of file eq_vars.f90.

◆ s

real(dp), dimension(:,:,:), allocatable eq_vars::eq_2_type::s

magnetic shear

Definition at line 139 of file eq_vars.f90.

◆ sigma

real(dp), dimension(:,:,:), allocatable eq_vars::eq_2_type::sigma

parallel current

Definition at line 142 of file eq_vars.f90.

◆ t_ef

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::t_ef

E(quilibrium) to F(lux)

Definition at line 129 of file eq_vars.f90.

◆ t_fe

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::t_fe

F(lux) to E(quilibrium)

Definition at line 130 of file eq_vars.f90.

◆ t_vc

real(dp), dimension(:,:,:,:,:,:,:), allocatable eq_vars::eq_2_type::t_vc

C(ylindrical) to V(MEC)

Definition at line 128 of file eq_vars.f90.

◆ z_e

real(dp), dimension(:,:,:,:,:,:), allocatable eq_vars::eq_2_type::z_e

Z in E(quilibrium) coords.

Definition at line 117 of file eq_vars.f90.


The documentation for this type was generated from the following file: