Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
#include "sll_assert.h"
#include "sll_memory.h"
#include "sll_working_precision.h"
#include "sll_particle_representation.h"
Go to the source code of this file.
Modules | |
module | sll_m_particle_initializers_4d |
Initialization of particles in 2d+2v: the Landau damping case. | |
Functions/Subroutines | |
subroutine, public | sll_s_initial_random_particles_4d (thermal_speed, alpha, k, m2d, num_particles, p_group, rand_seed, rank, worldsize) |
Initialize particles in a 2d+2v phase space using random generators. The Landau damping case with a perturbation in a single direction of the physical space. More... | |
subroutine, public | sll_s_initial_hammersley_particles_4d (thermal_speed, alpha, k, m2d, num_particles, p_group, rand_seed, rank, worldsize) |
Initialize particles in a 2d+2v phase space using pseudo-random generators. The Landau damping case with a perturbation in a single direction of the physical space. More... | |
subroutine | sll_s_initial_random_particles_4d_landau2d (thermal_speed, alpha, kx, ky, m2d, num_particles, p_group, rand_seed, rank, worldsize) |
The Landau damping case with a perturbation in BOTH directions of the physical space: (x,y) --> 1 + alpha*cos(kx * x)*cos(ky * y) More... | |
real(kind=f64) function | sll_f_eval_landau1d (alp, kx, x) |
real(kind=f64) function | sll_f_eval_landau2d (alp, kx, x, ky, y) |