Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Data Types | Modules | Functions/Subroutines | Variables
sll_m_particle_sampling.F90 File Reference
#include "sll_errors.h"
#include "sll_memory.h"
#include "sll_assert.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_particle_sampling.F90:

Go to the source code of this file.

Data Types

type  sll_t_particle_sampling
 Data type for particle sampling. More...
 

Modules

module  sll_m_particle_sampling
 Particle initializer class with various functions to initialize a particle.
 

Functions/Subroutines

subroutine free_particle_sampling (self)
 Descructor. More...
 
subroutine init_particle_sampling (self, sampling_type, dims, n_particles_local, rank, delta_perturb, delta_eps)
 Initializer. More...
 
subroutine reset_seed_jump (self, jump)
 
subroutine sample_cv_particle_sampling (self, particle_group, params, xmin, Lx, control_variate, time, map, lindf)
 Sample with control variate (we assume that the particle weights are given in the following order: (full f weight, value of initial distribution at time 0, delta f weights) More...
 
subroutine sample_particle_sampling (self, particle_group, params, xmin, Lx, map)
 Sample from distribution defined by params. More...
 
subroutine sample_particle_sampling_all (self, particle_group, params, xmin, Lx)
 Helper function for pure sampling. More...
 
subroutine sample_particle_sampling_sym_1d2v (self, particle_group, params, xmin, Lx)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine sample_particle_sampling_sym2_1d2v (self, particle_group, params, xmin, Lx)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine sample_particle_sampling_unix (self, particle_group, params, xmin, Lx)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine sample_particle_sampling_unix_1d2v (self, particle_group, params, xmin, Lx)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine sample_particle_sampling_sym_3d3v (self, particle_group, params, xmin, Lx)
 Helper function for antithetic sampling in 3d3v. More...
 
subroutine sample_particle_sampling_sym_uni_3d3v (self, particle_group, params, xmin, Lx)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine sample_particle_sampling_all_trafo (self, particle_group, params, xmin, Lx, map)
 Helper function for pure sampling. More...
 
subroutine delta_function_perturbation (self, particle_group, xmin, Lx)
 
subroutine sample_particle_sampling_sym_1d2v_trafo (self, particle_group, params, Lx, map)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine sample_particle_sampling_sym_3d3v_trafo (self, particle_group, params, xmin, Lx, map)
 Helper function for antithetic sampling in 1d2v. More...
 
subroutine, public sll_s_particle_sampling_randomized_weights (particle_group, alpha, seed)
 

Variables

integer(kind=i32), parameter sll_p_random_numbers = 0
 draw random numbers More...
 
integer(kind=i32), parameter sll_p_sobol_numbers = 1
 draw sobol numbers More...
 
integer(kind=i32), parameter sll_p_standard = 0
 each particle is drawn separately More...
 
integer(kind=i32), parameter sll_p_symmetric_all = 1
 2^(dim_x+dim_v) points constructed from each drawn particle, all possible combinations of reflections along each direction More...
 
integer(kind=i32), parameter sll_p_symmetric_negative = 2
 one additional point for each drawd point, the one reflected along all directions More...
 
integer(kind=i32), parameter sll_p_uniformx_negative = 3
 
    Report Typos and Errors