ORB5  4.00
Loading...
Searching...
No Matches
adiabatic_density.F90 File Reference

Modules

module  adiabatic_density_mod
 Module for prepare_density routine (not sure what it is supposed to do or if it is even used...) Contains its own particle initialization, 1D deposition and solver routines.

Functions/Subroutines

subroutine, public adiabatic_density_mod::prepare_density
 Modify the density profile in equil.
subroutine preload_numpart (isp, lnpart)
subroutine preload_dealloc
subroutine calculate_density (igyroavg, isp, lnpart)
real(kind=r8) function calc_psi0_corr (sigmat, chit, u, mu, isp)
subroutine adiabatic_density_mod::pre_dismat1d (ngrid, zixlw, zixup, zdxgrid, zl_tot, zsmall)
subroutine adiabatic_density_mod::dismat1d (kmat, krterms, mat)
subroutine adiabatic_density_mod::defbasis (kidbas, p, pfun)
subroutine adiabatic_density_mod::built_lu (zsol_dens)
subroutine adiabatic_density_mod::bandec (a, n, m1, m2, np, mp, al, mpl, indx, d)
subroutine adiabatic_density_mod::banbks (a, n, m1, m2, np, mp, al, mpl, indx, b)
real(kind=r8) function adiabatic_density_mod::getval (x, coef, lb)
subroutine adiabatic_density_mod::built_s_mat
subroutine adiabatic_density_mod::built_g_mat

Variables

integer, dimension(:), allocatable, save adiabatic_density_mod::indx_min
integer, save adiabatic_density_mod::nidbas = 3
integer, save adiabatic_density_mod::mband = 3
integer, save adiabatic_density_mod::nx
integer, save adiabatic_density_mod::ixlw
integer, save adiabatic_density_mod::ixup
real(kind=r8), save adiabatic_density_mod::l_tot
real(kind=r8), save adiabatic_density_mod::dxgrid
real(kind=r8), save adiabatic_density_mod::dxgrid_inv
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::s_mat_l
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::st_mat_l
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::s_mat_r
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::st_mat_r
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::s_mat_l2
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::st_mat_l2
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::s_mat_r2
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::st_mat_r2
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::g_mat
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::g_bmat
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::u_mat_min
real(kind=r8), dimension(:,:), allocatable, save adiabatic_density_mod::al_min
real(kind=r8), dimension(:), allocatable, save adiabatic_density_mod::xgrid
logical, save adiabatic_density_mod::small
real(kind=r8), dimension(:,:), allocatable, target, save adiabatic_density_mod::prepion

Function/Subroutine Documentation

◆ calc_psi0_corr()

real(kind=r8) function prepare_density::calc_psi0_corr ( real(kind=r8), intent(in) sigmat,
real(kind=r8), intent(in) chit,
real(kind=r8), intent(in) u,
real(kind=r8), intent(in) mu,
integer, intent(in) isp )
private
Bug
This function is not consistent with compute_psi0_corr, though I don't think the values are ever used - ALS
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_density()

subroutine prepare_density::calculate_density ( integer, intent(in) igyroavg,
integer, intent(in) isp,
integer, intent(in) lnpart )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ preload_dealloc()

subroutine prepare_density::preload_dealloc
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ preload_numpart()

subroutine prepare_density::preload_numpart ( integer, intent(in) isp,
integer, intent(out) lnpart )
private
Todo
What does this do? ALS
Here is the call graph for this function:
Here is the caller graph for this function: