Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | Private Attributes | List of all members
sll_t_params_cos_gaussian Type Reference

Data type for distribution function with (multiple) Gaussians in v and one plus cosine perturbations in x. More...

Inheritance diagram for sll_t_params_cos_gaussian:
Collaboration diagram for sll_t_params_cos_gaussian:

Private Member Functions

procedure eval_xv_density => sll_f_cos_gaussian
 Evaluate the distribution function. More...
 
procedure free => free_cos_gaussian
 Descructor. More...
 
procedure eval_x_density => sll_f_cos
 Evaluate the charge density. More...
 
procedure eval_v_density => sll_f_gaussian
 Evaluate the v-dependence (integrated over x) More...
 
procedure init => cos_gaussian_init
 Initialization. More...
 

Private Attributes

real(kind=f64), dimension(:,:), allocatable kx
 value of the modenumber of the wave which is exited (first index dimension, second index for multiple cosines) More...
 
real(kind=f64), dimension(:,:), allocatable modnum
 value of the modenumber of the wave which is exited (first index dimension, second index for multiple cosines) More...
 
real(kind=f64), dimension(:), allocatable alpha
 strength of perturbations More...
 
real(kind=f64), dimension(:), allocatable phase_shift
 phase shift in the cosine More...
 
integer(kind=i32) n_cos
 Number of cosines. More...
 
integer(kind=i32), dimension(2) dims
 Number of spatial and velocity dimensions. More...
 
integer(kind=i32) n_gaussians
 Number of Gaussians. More...
 
real(kind=f64), dimension(:,:), allocatable v_thermal
 variance of the Gaussian ( first index velocity dimension, second index multiple Gaussians) More...
 
real(kind=f64), dimension(:,:), allocatable v_mean
 mean value of the Gaussian ( first index velocity dimension, second index multiple Gaussians) More...
 
real(kind=f64), dimension(:), allocatable delta
 Portion of each Gaussian. More...
 
real(kind=f64), dimension(:), allocatable normal
 Normalization constant of each Gaussian. More...
 

Detailed Description

Data type for distribution function with (multiple) Gaussians in v and one plus cosine perturbations in x.

Definition at line 65 of file sll_m_initial_distribution.F90.

Member Function/Subroutine Documentation

◆ eval_v_density()

procedure eval_v_density
private

Evaluate the v-dependence (integrated over x)

Definition at line 76 of file sll_m_initial_distribution.F90.

◆ eval_x_density()

procedure eval_x_density
private

Evaluate the charge density.

Definition at line 75 of file sll_m_initial_distribution.F90.

◆ eval_xv_density()

procedure eval_xv_density
private

Evaluate the distribution function.

Definition at line 73 of file sll_m_initial_distribution.F90.

◆ free()

procedure free
private

Descructor.

Definition at line 74 of file sll_m_initial_distribution.F90.

◆ init()

procedure init
private

Initialization.

Definition at line 77 of file sll_m_initial_distribution.F90.

Member Data Documentation

◆ alpha

real(kind=f64), dimension(:), allocatable alpha
private

strength of perturbations

Definition at line 68 of file sll_m_initial_distribution.F90.

◆ delta

real(kind=f64), dimension(:), allocatable delta
privateinherited

Portion of each Gaussian.

Definition at line 53 of file sll_m_initial_distribution.F90.

◆ dims

integer(kind=i32), dimension(2) dims
privateinherited

Number of spatial and velocity dimensions.

Definition at line 49 of file sll_m_initial_distribution.F90.

◆ kx

real(kind=f64), dimension(:,:), allocatable kx
private

value of the modenumber of the wave which is exited (first index dimension, second index for multiple cosines)

Definition at line 66 of file sll_m_initial_distribution.F90.

◆ modnum

real(kind=f64), dimension(:,:), allocatable modnum
private

value of the modenumber of the wave which is exited (first index dimension, second index for multiple cosines)

Definition at line 67 of file sll_m_initial_distribution.F90.

◆ n_cos

integer(kind=i32) n_cos
private

Number of cosines.

Definition at line 70 of file sll_m_initial_distribution.F90.

◆ n_gaussians

integer(kind=i32) n_gaussians
privateinherited

Number of Gaussians.

Definition at line 50 of file sll_m_initial_distribution.F90.

◆ normal

real(kind=f64), dimension(:), allocatable normal
privateinherited

Normalization constant of each Gaussian.

Definition at line 54 of file sll_m_initial_distribution.F90.

◆ phase_shift

real(kind=f64), dimension(:), allocatable phase_shift
private

phase shift in the cosine

Definition at line 69 of file sll_m_initial_distribution.F90.

◆ v_mean

real(kind=f64), dimension(:,:), allocatable v_mean
privateinherited

mean value of the Gaussian ( first index velocity dimension, second index multiple Gaussians)

Definition at line 52 of file sll_m_initial_distribution.F90.

◆ v_thermal

real(kind=f64), dimension(:,:), allocatable v_thermal
privateinherited

variance of the Gaussian ( first index velocity dimension, second index multiple Gaussians)

Definition at line 51 of file sll_m_initial_distribution.F90.

    Report Typos and Errors