PB3D  [2.45]
Ideal linear high-n MHD stability in 3-D
Functions/Subroutines | Variables
vmec_vars Module Reference

Variables that concern the output of VMEC. More...

Functions/Subroutines

subroutine, public dealloc_vmec ()
 Deallocates VMEC quantities that are not used anymore. More...
 

Variables

integer, dimension(:,:), allocatable, public mn_v
 m and n of modes More...
 
real(dp), public b_0_v
 the magnitude of B at the magnetic axis, \(\theta = \zeta = 0\) More...
 
real(dp), dimension(:,:), allocatable, public flux_t_v
 toroidal flux More...
 
real(dp), dimension(:,:), allocatable, public flux_p_v
 poloidal flux More...
 
real(dp), dimension(:,:), allocatable, public pres_v
 pressure More...
 
real(dp), dimension(:,:), allocatable, public rot_t_v
 rotational transform More...
 
real(dp), dimension(:,:), allocatable, public q_saf_v
 safety factor More...
 
real(dp), dimension(:,:,:), allocatable, public r_v_c
 Coeff. of \(R\) in sine series (FM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public r_v_s
 Coeff. of \(R\) in cosine series (FM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public z_v_c
 Coeff. of \(Z\) in sine series (FM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public z_v_s
 Coeff. of \(Z\) in cosine series (FM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public l_v_c
 Coeff. of \(\lambda\) in sine series (HM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public l_v_s
 Coeff. of \(\lambda\) in cosine series (HM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public jac_v_c
 Coeff. of \(\mathcal{J}\) in sine series (HM and FM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public jac_v_s
 Coeff. of \(\mathcal{J}\) in cosine series (HM and FM) and norm. deriv. More...
 
real(dp), dimension(:,:,:), allocatable, public b_v_sub_c
 Coeff. of B_i in sine series (r,theta,phi) (FM) More...
 
real(dp), dimension(:,:,:), allocatable, public b_v_sub_s
 Coeff. of B_i in cosine series (r,theta,phi) (FM) More...
 
real(dp), dimension(:,:), allocatable, public b_v_c
 Coeff. of magnitude of B in sine series (HM and FM) More...
 
real(dp), dimension(:,:), allocatable, public b_v_s
 Coeff. of magnitude of B in cosine series (HM and FM) More...
 
real(dp), dimension(:,:), allocatable, public j_v_sup_int
 Integrated poloidal and toroidal current (FM) More...
 

Detailed Description

Variables that concern the output of VMEC.

Function/Subroutine Documentation

◆ dealloc_vmec()

subroutine, public vmec_vars::dealloc_vmec

Deallocates VMEC quantities that are not used anymore.

Definition at line 57 of file VMEC_vars.f90.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ b_0_v

real(dp), public vmec_vars::b_0_v

the magnitude of B at the magnetic axis, \(\theta = \zeta = 0\)

Definition at line 33 of file VMEC_vars.f90.

◆ b_v_c

real(dp), dimension(:,:), allocatable, public vmec_vars::b_v_c

Coeff. of magnitude of B in sine series (HM and FM)

Note
Debug version only

Definition at line 50 of file VMEC_vars.f90.

◆ b_v_s

real(dp), dimension(:,:), allocatable, public vmec_vars::b_v_s

Coeff. of magnitude of B in cosine series (HM and FM)

Note
Debug version only

Definition at line 51 of file VMEC_vars.f90.

◆ b_v_sub_c

real(dp), dimension(:,:,:), allocatable, public vmec_vars::b_v_sub_c

Coeff. of B_i in sine series (r,theta,phi) (FM)

Note
Debug version only

Definition at line 47 of file VMEC_vars.f90.

◆ b_v_sub_s

real(dp), dimension(:,:,:), allocatable, public vmec_vars::b_v_sub_s

Coeff. of B_i in cosine series (r,theta,phi) (FM)

Note
Debug version only

Definition at line 48 of file VMEC_vars.f90.

◆ flux_p_v

real(dp), dimension(:,:), allocatable, public vmec_vars::flux_p_v

poloidal flux

Definition at line 35 of file VMEC_vars.f90.

◆ flux_t_v

real(dp), dimension(:,:), allocatable, public vmec_vars::flux_t_v

toroidal flux

Definition at line 34 of file VMEC_vars.f90.

◆ j_v_sup_int

real(dp), dimension(:,:), allocatable, public vmec_vars::j_v_sup_int

Integrated poloidal and toroidal current (FM)

Note
Debug version only

Definition at line 52 of file VMEC_vars.f90.

◆ jac_v_c

real(dp), dimension(:,:,:), allocatable, public vmec_vars::jac_v_c

Coeff. of \(\mathcal{J}\) in sine series (HM and FM) and norm. deriv.

Definition at line 45 of file VMEC_vars.f90.

◆ jac_v_s

real(dp), dimension(:,:,:), allocatable, public vmec_vars::jac_v_s

Coeff. of \(\mathcal{J}\) in cosine series (HM and FM) and norm. deriv.

Definition at line 46 of file VMEC_vars.f90.

◆ l_v_c

real(dp), dimension(:,:,:), allocatable, public vmec_vars::l_v_c

Coeff. of \(\lambda\) in sine series (HM) and norm. deriv.

Definition at line 43 of file VMEC_vars.f90.

◆ l_v_s

real(dp), dimension(:,:,:), allocatable, public vmec_vars::l_v_s

Coeff. of \(\lambda\) in cosine series (HM) and norm. deriv.

Definition at line 44 of file VMEC_vars.f90.

◆ mn_v

integer, dimension(:,:), allocatable, public vmec_vars::mn_v

m and n of modes

Definition at line 32 of file VMEC_vars.f90.

◆ pres_v

real(dp), dimension(:,:), allocatable, public vmec_vars::pres_v

pressure

Definition at line 36 of file VMEC_vars.f90.

◆ q_saf_v

real(dp), dimension(:,:), allocatable, public vmec_vars::q_saf_v

safety factor

Definition at line 38 of file VMEC_vars.f90.

◆ r_v_c

real(dp), dimension(:,:,:), allocatable, public vmec_vars::r_v_c

Coeff. of \(R\) in sine series (FM) and norm. deriv.

Definition at line 39 of file VMEC_vars.f90.

◆ r_v_s

real(dp), dimension(:,:,:), allocatable, public vmec_vars::r_v_s

Coeff. of \(R\) in cosine series (FM) and norm. deriv.

Definition at line 40 of file VMEC_vars.f90.

◆ rot_t_v

real(dp), dimension(:,:), allocatable, public vmec_vars::rot_t_v

rotational transform

Definition at line 37 of file VMEC_vars.f90.

◆ z_v_c

real(dp), dimension(:,:,:), allocatable, public vmec_vars::z_v_c

Coeff. of \(Z\) in sine series (FM) and norm. deriv.

Definition at line 41 of file VMEC_vars.f90.

◆ z_v_s

real(dp), dimension(:,:,:), allocatable, public vmec_vars::z_v_s

Coeff. of \(Z\) in cosine series (FM) and norm. deriv.

Definition at line 42 of file VMEC_vars.f90.