XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
f0_module Module Reference

Public Member Functions

real(8) function exp_ad (x)
 adjusted exponential function for adiabatic response More...
 
subroutine set_f0_f0g_ptr (f0_inode1_new, f0_inode2_new, f0_f0g_cpp)
 
subroutine f0_init_decomposed_ptrs (f0_T_ev_cpp, f0_fg_T_ev_cpp, f0_inv_grid_vol_cpp, f0_grid_vol_cpp, f0_grid_vol_vonly_cpp, f0_den_cpp, f0_flow_cpp)
 
subroutine f0_get_f0g (grid, isp, itr, p, phi, mu_n_in, vp_n, f0g, err)
 Interpolates the grid distribution function to real space, velocity space location given by node, mu_n,vp_n. In poloidal plane it uses nearest neighbor and velocity space linear interpolation. More...
 
subroutine f0_set_ptrs (nnode, f0_delta_n_cpp, f0_delta_u_cpp, f0_delta_T_cpp)
 Sets pointers to cpp arrays for f0 arrays. More...
 
subroutine write_f0_analytic_to_file ()
 

Public Attributes

integer f0_nmu
 
integer f0_nvp
 
real(8), dimension(:,:,:,:),
pointer 
f0_f0g => NULL()
 Stores the slow varying grid part of the distribution function. More...
 
real(8) f0_smu_max
 
real(8) f0_vp_max
 
real(8) f0_dsmu
 
real(8) f0_dvp
 
integer f0_imu1
 
integer f0_imu2
 
real(8), dimension(:,:), pointer f0_inv_grid_vol
 
real(8), dimension(:,:), pointer f0_grid_vol
 
real(8), dimension(:,:), pointer f0_grid_vol_vonly
 
real(8), dimension(:,:), pointer f0_den
 
real(8), dimension(:,:), pointer f0_t_ev
 
real(8), dimension(:,:), pointer f0_flow
 
real(8), dimension(:,:), pointer f0_fg_t_ev
 
real(8), dimension(:,:), pointer f0_delta_n
 Flux-surface averaged change of density. More...
 
real(8), dimension(:,:), pointer f0_delta_u
 Flux-surface averaged change of parallel flow. More...
 
real(8), dimension(:,:), pointer f0_delta_t
 Flux-surface averaged change of temperature. More...
 
real(kind=8), parameter f0_mu0_factor =3D0
 Set value of lowest mu in grid –> 1/f0_mu0_factor. More...
 
logical f0_use_linear_adiabatic = .false.
 
real(8), parameter f0_linear_adiabatic_bd =0.7
 

Member Function/Subroutine Documentation

real (8) function f0_module::exp_ad ( real (8), intent(in)  x)

adjusted exponential function for adiabatic response

Here is the call graph for this function:

subroutine f0_module::f0_get_f0g ( type(grid_type)  grid,
integer, intent(in)  isp,
integer, intent(in)  itr,
real (8), dimension(3), intent(in)  p,
real (8), intent(in)  phi,
real (8), intent(in)  mu_n_in,
real (8), intent(in)  vp_n,
real (8), intent(out)  f0g,
logical, intent(out)  err 
)

Interpolates the grid distribution function to real space, velocity space location given by node, mu_n,vp_n. In poloidal plane it uses nearest neighbor and velocity space linear interpolation.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine f0_module::f0_init_decomposed_ptrs ( real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_T_ev_cpp,
real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_fg_T_ev_cpp,
real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_inv_grid_vol_cpp,
real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_grid_vol_cpp,
real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_grid_vol_vonly_cpp,
real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_den_cpp,
real(8), dimension(f0_inode1:f0_inode2, ptl_isp:ptl_nsp), target  f0_flow_cpp 
)
subroutine f0_module::f0_set_ptrs ( integer  nnode,
real(8), dimension(nnode, 0:ptl_nsp), target  f0_delta_n_cpp,
real(8), dimension(nnode, 0:ptl_nsp), target  f0_delta_u_cpp,
real(8), dimension(nnode, 0:ptl_nsp), target  f0_delta_T_cpp 
)

Sets pointers to cpp arrays for f0 arrays.

Parameters
[in]nnodeNumber of mesh vertices, integer
subroutine f0_module::set_f0_f0g_ptr ( integer  f0_inode1_new,
integer  f0_inode2_new,
real(8), dimension(-f0_nvp:f0_nvp, f0_inode1_new:f0_inode2_new, 0:f0_nmu, ptl_isp:ptl_nsp), target  f0_f0g_cpp 
)
subroutine f0_module::write_f0_analytic_to_file ( )

Here is the call graph for this function:

Member Data Documentation

real (8), dimension(:,:), pointer f0_module::f0_delta_n

Flux-surface averaged change of density.

real (8), dimension(:,:), pointer f0_module::f0_delta_t

Flux-surface averaged change of temperature.

real (8), dimension(:,:), pointer f0_module::f0_delta_u

Flux-surface averaged change of parallel flow.

real (8), dimension(:,:), pointer f0_module::f0_den
real (8) f0_module::f0_dsmu
real (8) f0_module::f0_dvp
real (8), dimension(:,:,:,:), pointer f0_module::f0_f0g => NULL()

Stores the slow varying grid part of the distribution function.

real (8), dimension(:,:), pointer f0_module::f0_fg_t_ev
real (8), dimension(:,:), pointer f0_module::f0_flow
real (8), dimension(:,:), pointer f0_module::f0_grid_vol
real (8), dimension(:,:), pointer f0_module::f0_grid_vol_vonly
integer f0_module::f0_imu1
integer f0_module::f0_imu2
real (8), dimension(:,:), pointer f0_module::f0_inv_grid_vol
real (8), parameter f0_module::f0_linear_adiabatic_bd =0.7
real (kind=8), parameter f0_module::f0_mu0_factor =3D0

Set value of lowest mu in grid –> 1/f0_mu0_factor.

integer f0_module::f0_nmu
integer f0_module::f0_nvp
real (8) f0_module::f0_smu_max
real (8), dimension(:,:), pointer f0_module::f0_t_ev
logical f0_module::f0_use_linear_adiabatic = .false.
real (8) f0_module::f0_vp_max

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