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_particle_sampling Type Reference

Data type for particle sampling. More...

Collaboration diagram for sll_t_particle_sampling:

Private Member Functions

procedure init => init_particle_sampling
 
procedure sample => sample_particle_sampling
 Initializer. More...
 
procedure sample_cv => sample_cv_particle_sampling
 Sample particles. More...
 
procedure free => free_particle_sampling
 Sample particles and set delta f weights. More...
 
procedure reset_seed_jump
 Destructor. More...
 

Private Attributes

integer(kind=i32) symmetric
 Various cases of symmetric loading. 0: non-symmetric; symmetry is obtained by reflecting at the mean value of the Gaussian (for v) or the domain mid point (for x); 1: 2^(dim_x+dim_v) points with all possible combinations; 2: only one additional point per randomly drawn particle, the one reflected in each direction. More...
 
integer(kind=i32) random_numbers
 How to draw (currently random or Sobol) defined by descriptors. More...
 
logical uniform = .false.
 Uniform loading. More...
 
integer(kind=i32), dimension(:), allocatable random_seed
 seed for random numbers More...
 
integer(kind=i32), dimension(:), allocatable random_seed_start
 save starting seed More...
 
integer(kind=i64) sobol_seed
 seed for Sobol numbers More...
 
integer(kind=i64) sobol_seed_start
 save starting seed More...
 
logical inverse = .false.
 true if the mapping has an analytical inverse More...
 
logical xiprofile = .false.
 logical temperature profile More...
 
logical delta_perturb = .false.
 true if delta perturbation for the velocity distribution More...
 
real(kind=f64), dimension(3) eps = [0.6, 0.6, 0.6]
 sigma quantile in which the velocity is perturbed More...
 
real(kind=f64), dimension(3) a = [0.0, 0.0, 0.0]
 value of the perturbation More...
 

Detailed Description

Data type for particle sampling.

Definition at line 59 of file sll_m_particle_sampling.F90.

Member Function/Subroutine Documentation

◆ free()

procedure free
private

Sample particles and set delta f weights.

Definition at line 78 of file sll_m_particle_sampling.F90.

◆ init()

procedure init
private

Definition at line 75 of file sll_m_particle_sampling.F90.

◆ reset_seed_jump()

procedure reset_seed_jump
private

Destructor.

reset seed jump

Definition at line 79 of file sll_m_particle_sampling.F90.

◆ sample()

procedure sample
private

Initializer.

Definition at line 76 of file sll_m_particle_sampling.F90.

◆ sample_cv()

procedure sample_cv
private

Sample particles.

Definition at line 77 of file sll_m_particle_sampling.F90.

Member Data Documentation

◆ a

real(kind=f64), dimension(3) a = [0.0, 0.0, 0.0]
private

value of the perturbation

Definition at line 72 of file sll_m_particle_sampling.F90.

◆ delta_perturb

logical delta_perturb = .false.
private

true if delta perturbation for the velocity distribution

Definition at line 70 of file sll_m_particle_sampling.F90.

◆ eps

real(kind=f64), dimension(3) eps = [0.6, 0.6, 0.6]
private

sigma quantile in which the velocity is perturbed

Definition at line 71 of file sll_m_particle_sampling.F90.

◆ inverse

logical inverse = .false.
private

true if the mapping has an analytical inverse

Definition at line 67 of file sll_m_particle_sampling.F90.

◆ random_numbers

integer(kind=i32) random_numbers
private

How to draw (currently random or Sobol) defined by descriptors.

Definition at line 61 of file sll_m_particle_sampling.F90.

◆ random_seed

integer(kind=i32), dimension(:), allocatable random_seed
private

seed for random numbers

Definition at line 63 of file sll_m_particle_sampling.F90.

◆ random_seed_start

integer(kind=i32), dimension(:), allocatable random_seed_start
private

save starting seed

Definition at line 64 of file sll_m_particle_sampling.F90.

◆ sobol_seed

integer(kind=i64) sobol_seed
private

seed for Sobol numbers

Definition at line 65 of file sll_m_particle_sampling.F90.

◆ sobol_seed_start

integer(kind=i64) sobol_seed_start
private

save starting seed

Definition at line 66 of file sll_m_particle_sampling.F90.

◆ symmetric

integer(kind=i32) symmetric
private

Various cases of symmetric loading. 0: non-symmetric; symmetry is obtained by reflecting at the mean value of the Gaussian (for v) or the domain mid point (for x); 1: 2^(dim_x+dim_v) points with all possible combinations; 2: only one additional point per randomly drawn particle, the one reflected in each direction.

Definition at line 60 of file sll_m_particle_sampling.F90.

◆ uniform

logical uniform = .false.
private

Uniform loading.

Definition at line 62 of file sll_m_particle_sampling.F90.

◆ xiprofile

logical xiprofile = .false.
private

logical temperature profile

Definition at line 68 of file sll_m_particle_sampling.F90.

    Report Typos and Errors