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

Go to the source code of this file.

Data Types

type  sll_t_particle_group_2d3v
 Simple version of a PIC particle group in 2d3v. More...
 

Modules

module  sll_m_particle_group_2d3v
 Simple particle group group for 2d3v.
 

Functions/Subroutines

subroutine delete_particle_group_2d3v (self)
 Prints particle array (Note: Not parallelized) More...
 
subroutine initialize_particle_group_2d3v (self, n_particles, n_total_particles, charge, mass, n_weights)
 Initialize particle group. More...
 
subroutine, public sll_s_new_particle_group_2d3v_ptr (particle_group, n_particles, n_total_particles, charge, mass, n_weights)
 Constructor for abstract type. More...
 
subroutine, public sll_s_new_particle_group_2d3v (particle_group, n_particles, n_total_particles, charge, mass, n_weights)
 Constructor for abstract type. More...
 
pure real(kind=f64) function, dimension(3) get_x_2d3v (self, i)
 Get positions of particle i. More...
 
pure real(kind=f64) function, dimension(3) get_v_2d3v (self, i)
 Get velocities of particle i. More...
 
pure real(kind=f64) function get_charge_2d3v (self, i, i_weight)
 Get charge of particle i ( q * particle_weight) More...
 
pure real(kind=f64) function get_mass_2d3v (self, i, i_weight)
 Get mass of particle i ( m * particle_weight) More...
 
pure real(kind=f64) function, dimension(self%n_weights) get_weights_2d3v (self, i)
 Get weights of particle i. More...
 
pure real(kind=f64) function get_common_weight_2d3v (self)
 Set the common weight. More...
 
subroutine set_x_2d3v (self, i, x)
 Set positions of particle i. More...
 
subroutine set_v_2d3v (self, i, x)
 Set velocities of particle i. More...
 
subroutine set_weights_2d3v (self, i, x)
 Set weights of particle i. More...
 
subroutine set_common_weight_2d3v (self, x)
 Set the common weight. More...
 
subroutine print_particle_group_2d3v (self, filename)
 Print particle array. More...
 
    Report Typos and Errors