GBS
equilibrium_mod.F90 File Reference
#include "mpi_precomp.h"
+ Include dependency graph for equilibrium_mod.F90:

Modules

module  equilibrium_mod
 

Functions/Subroutines

subroutine, public equilibrium_mod::set_equilibrium (mpi_env)
 
subroutine equilibrium_mod::set_magnetic_field (mpi_env)
 
subroutine equilibrium_mod::adjust_psi_sign
 
subroutine equilibrium_mod::initialize_jpar_eq
 
subroutine equilibrium_mod::initialize_operators_coeff (mpi_env)
 
subroutine equilibrium_mod::set_curvature_coefficients
 
subroutine equilibrium_mod::set_gradpar_coefficients
 
subroutine equilibrium_mod::set_grad2par_coefficients
 
subroutine equilibrium_mod::set_coeff_noise_to_zero (mpi_env)
 
subroutine equilibrium_mod::rect_magnetic_field (mpi_env)
 
subroutine calcei (arg, result, int)
 
subroutine equilibrium_mod::snowflake_magnetic_field (mpi_env)
 
subroutine equilibrium_mod::tria_scan_magnetic_field (mpi_env)
 
subroutine equilibrium_mod::load_magnetic_field (mpi_env)
 
subroutine equilibrium_mod::set_bysign_v (mpi_env)
 
subroutine equilibrium_mod::set_bysign_v_general (mpi_env)
 
subroutine equilibrium_mod::set_bxsign_v_general (mpi_env)
 
subroutine equilibrium_mod::set_vpar_smoothx
 
subroutine equilibrium_mod::set_vpar_smoothx_general (mpi_env)
 
subroutine equilibrium_mod::set_vpar_smoothy_general (mpi_env)
 
subroutine equilibrium_mod::allocate_magnetic_field
 
subroutine, public equilibrium_mod::deallocate_magnetic_field
 
subroutine, public equilibrium_mod::equilibrium_memory
 Allocate the memory of module arrays. More...
 
subroutine, public equilibrium_mod::equilibrium_outputinputs (fidres, str)
 Write the input parameters to the results_xx.h5 file. More...
 

Variables

real(dp), public, protected equilibrium_mod::a_rhos
 a/rhos More...
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::cur_x_n
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::cur_x_v
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::ccur_xx_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::cur_y_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::cur_y_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::ccur_yy_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::ccur_xy_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradpar_x_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradpar_x_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradpar_y_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradpar_y_v
 
real(dp), public, protected equilibrium_mod::gradpar_z
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_x_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_x_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_y_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_y_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_xx_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_xx_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_yy_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_yy_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_zx_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_zx_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_zy_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_zy_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_xy_n
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::grad2par_xy_v
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_xx_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_yy_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_xy_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_yx_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_x_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_y_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_zy_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::curgrad_zx_n
 Coeff to use in the Curvature of the Parallel gradient (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_xx_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_yy_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_xy_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_yx_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_x_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_y_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_zy_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(:,:), pointer, public, protected equilibrium_mod::gradcur_zx_v
 Coeff to use in the Parallel gradient of the curvature (GV terms) More...
 
real(dp), dimension(4), public, protected equilibrium_mod::coef_int
 
real(dp), dimension(4), public, protected equilibrium_mod::coef_der1_stag
 
real(dp), dimension(4), public, protected equilibrium_mod::coef_der1_n2n
 
real(dp), dimension(4), public, protected equilibrium_mod::coef_der2_stag
 
real(dp), dimension(5), public, protected equilibrium_mod::coef_der2
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::bysignt_v
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::bysignb_v
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::bxsignr_v
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::bxsignl_v
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::dpsidx_n
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::dpsidx_v
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::dpsidy_n
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::dpsidy_v
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::d2psidx2_n
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::d2psidx2_v
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::d2psidy2_n
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::d2psidy2_v
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::d2psidxdy_n
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::d2psidxdy_v
 
real(dp), dimension(:,:), pointer, public equilibrium_mod::psi_eq
 Equilibrium poloidal flux function. More...
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::vpar_smoothb
 They smooth the jumbs between vpar = -cs and vpar = cs in the wall points where the perpedicular component of magnetic field crosses zero. More...
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::vpar_smootht
 They smooth the jumbs between vpar = -cs and vpar = cs in the wall points where the perpedicular component of magnetic field crosses zero. More...
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::vpar_smoothl
 They smooth the jumbs between vpar = -cs and vpar = cs in the wall points where the perpedicular component of magnetic field crosses zero. More...
 
real(dp), dimension(:), pointer, public, protected equilibrium_mod::vpar_smoothr
 They smooth the jumbs between vpar = -cs and vpar = cs in the wall points where the perpedicular component of magnetic field crosses zero. More...
 
integer, public, protected equilibrium_mod::ix0b = 0
 Indices where the perpedicular component of magnetic field crosses zero. More...
 
integer, public, protected equilibrium_mod::ix0t = 0
 Indices where the perpedicular component of magnetic field crosses zero. More...
 
integer, dimension(:), pointer, public, protected equilibrium_mod::ix0t_ar
 
integer, dimension(:), pointer, public, protected equilibrium_mod::ix0b_ar
 
integer, dimension(:), pointer, public, protected equilibrium_mod::iy0r_ar
 
integer, dimension(:), pointer, public, protected equilibrium_mod::iy0l_ar
 
real(dp), public, protected equilibrium_mod::xmag
 
real(dp), public, protected equilibrium_mod::ymag1
 
real(dp), public, protected equilibrium_mod::ymag2
 
real(dp), public, protected equilibrium_mod::y0_source
 
real(dp), public, protected equilibrium_mod::xbstart
 
real(dp), public, protected equilibrium_mod::xbend
 
real(dp), public, protected equilibrium_mod::xtstart
 
real(dp), public, protected equilibrium_mod::xtend
 
real(dp), public, protected equilibrium_mod::yxpt
 
real(dp), public, protected equilibrium_mod::y1_source = 0._dp
 
real(dp), public, protected equilibrium_mod::yxpt1 = 0._dp
 
real(dp), public, protected equilibrium_mod::yxpt_upper
 
real(dp), public, protected equilibrium_mod::position
 
real(dp), public, protected equilibrium_mod::of
 
real(dp), public, protected equilibrium_mod::the
 
real(dp), public, protected equilibrium_mod::upper
 
real(dp), public, protected equilibrium_mod::xpoint
 
real(dp), public, protected equilibrium_mod::in
 
real(dp), public, protected equilibrium_mod::double
 
real(dp), public, protected equilibrium_mod::null
 
real(dp), public, protected equilibrium_mod::simulations
 
real(dp), public, protected equilibrium_mod::amag
 
real(dp), public, protected equilibrium_mod::asize
 

Detailed Description

Function/Subroutine Documentation

◆ calcei()

subroutine rect_magnetic_field::calcei ( real(dp)  arg,
real(dp)  result,
integer  int 
)
private
+ Here is the caller graph for this function: