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
sll_m_particle_group_1d1v.F90 File Reference
#include "sll_assert.h"
#include "sll_memory.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_particle_group_1d1v.F90:

Go to the source code of this file.

Data Types

type  sll_t_particle_group_1d1v
 Simple version of a PIC particle group in 1d1v. More...
 

Modules

module  sll_m_particle_group_1d1v
 Simple particle group type for 1d1v.
 

Functions/Subroutines

subroutine delete_particle_group_1d1v (self)
 print particle array to file More...
 
subroutine initialize_particle_group_1d1v (self, n_particles, n_total_particles, charge, mass, n_weights)
 Initialization of the particle group. More...
 
subroutine, public sll_s_new_particle_group_1d1v_ptr (particle_group, n_particles, n_total_particles, charge, mass, n_weights)
 Constructor for pointer. More...
 
subroutine, public sll_s_new_particle_group_1d1v (particle_group, n_particles, n_total_particles, charge, mass, n_weights)
 Constructor for allocatable. More...
 
pure real(kind=f64) function, dimension(3) get_x_1d1v (self, i)
 Get position. More...
 
pure real(kind=f64) function, dimension(3) get_v_1d1v (self, i)
 Get velocity. More...
 
pure real(kind=f64) function get_charge_1d1v (self, i, i_weight)
 Get charge of particle (q * particle_weight) More...
 
pure real(kind=f64) function get_mass_1d1v (self, i, i_weight)
 Get mass of particle (m * particle_weight) More...
 
pure real(kind=f64) function, dimension(self%n_weights) get_weights_1d1v (self, i)
 Get particle weights. More...
 
pure real(kind=f64) function get_common_weight_1d1v (self)
 Set the common weight. More...
 
subroutine set_x_1d1v (self, i, x)
 Set position of particle i. More...
 
subroutine set_v_1d1v (self, i, x)
 Set velocity of particle i. More...
 
subroutine set_weight_1d1v (self, i, x)
 Set weights of particle i. More...
 
subroutine set_common_weight_1d1v (self, x)
 Set the common weight. More...
 
subroutine print_particle_group_1d1v (self, filename)
 Print particle array to file. More...
 
    Report Typos and Errors