Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Simple version of a PIC particle group in 2d3v. More...
Private Member Functions | |
procedure | get_x => get_x_2d3v |
procedure | get_v => get_v_2d3v |
Get the values of the coordinate of a particle. More... | |
procedure | get_charge => get_charge_2d3v |
Get the values of the velocity of a particle. More... | |
procedure | get_mass => get_mass_2d3v |
Get the charge(s) More... | |
procedure | get_weights => get_weights_2d3v |
Get the mass(es) More... | |
procedure | get_common_weight => get_common_weight_2d3v |
Get weight(s) of the particle. More... | |
procedure | set_x => set_x_2d3v |
procedure | set_v => set_v_2d3v |
Set the values of the coordinate of a particle. More... | |
procedure | set_weights => set_weights_2d3v |
Set the values of the velocity of a particle. More... | |
procedure | set_common_weight => set_common_weight_2d3v |
Set the weight(s) of a particle. More... | |
procedure | init => initialize_particle_group_2d3v |
Set the common weight for the particle. More... | |
procedure | free => delete_particle_group_2d3v |
Initialization function. More... | |
procedure | print => print_particle_group_2d3v |
Destructor. More... | |
procedure | get_box |
Assuming we have some elements/grid cells "box" for the representation of the fields, we get the (1d) index of this box. More... | |
procedure | get_boxnd |
Assuming we have some elements/grid cells "box" for the representation of the fields, we get the nd index of this box (note this is for tensor product grids only) More... | |
procedure | get_xbox |
Assuming we have some elements/grid cells "box" for the representation of the fields, we get the (normalized) offset of the position in the box. More... | |
procedure | get_patch |
procedure | get_xpatch |
Get x in terms of the patch local coordinate system. More... | |
procedure | chget_x |
procedure | chget_v |
procedure | chget_weights |
procedure | chget_box |
procedure | chget_boxnd |
procedure | chget_patch |
procedure | set_box |
procedure | set_boxnd |
procedure | set_patch |
procedure | read |
Reads in particle array (default not working) More... | |
Private Attributes | |
real(kind=f64), dimension(:,:), allocatable | particle_array |
array of particles More... | |
real(kind=f64) | common_weight = 1.0_f64 |
class(sll_t_species), allocatable | species |
integer(kind=i32) | id |
integer(kind=i32) | n_particles |
number of particles local to the processor More... | |
integer(kind=i32) | n_total_particles |
number of particles in total simulation More... | |
integer(kind=i32) | n_weights |
number of weights per particle More... | |
Simple version of a PIC particle group in 2d3v.
Definition at line 27 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Definition at line 72 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 73 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 74 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 70 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 71 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 69 of file sll_m_particle_group_base.F90.
|
private |
Initialization function.
Definition at line 49 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Assuming we have some elements/grid cells "box" for the representation of the fields, we get the (1d) index of this box.
Definition at line 59 of file sll_m_particle_group_base.F90.
|
privateinherited |
Assuming we have some elements/grid cells "box" for the representation of the fields, we get the nd index of this box (note this is for tensor product grids only)
Definition at line 60 of file sll_m_particle_group_base.F90.
|
private |
Get the values of the velocity of a particle.
Definition at line 36 of file sll_m_particle_group_2d3v.F90.
|
private |
Get weight(s) of the particle.
Definition at line 39 of file sll_m_particle_group_2d3v.F90.
|
private |
Get the charge(s)
Definition at line 37 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Definition at line 62 of file sll_m_particle_group_base.F90.
|
private |
Get the values of the coordinate of a particle.
Definition at line 35 of file sll_m_particle_group_2d3v.F90.
|
private |
Get the mass(es)
Definition at line 38 of file sll_m_particle_group_2d3v.F90.
|
private |
Definition at line 34 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Assuming we have some elements/grid cells "box" for the representation of the fields, we get the (normalized) offset of the position in the box.
Definition at line 61 of file sll_m_particle_group_base.F90.
|
privateinherited |
Get x in terms of the patch local coordinate system.
Definition at line 63 of file sll_m_particle_group_base.F90.
|
private |
Set the common weight for the particle.
Definition at line 48 of file sll_m_particle_group_2d3v.F90.
|
private |
Destructor.
Definition at line 51 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Reads in particle array (default not working)
Definition at line 93 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 82 of file sll_m_particle_group_base.F90.
|
privateinherited |
Definition at line 83 of file sll_m_particle_group_base.F90.
|
private |
Set the weight(s) of a particle.
Definition at line 45 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Definition at line 84 of file sll_m_particle_group_base.F90.
|
private |
Set the values of the coordinate of a particle.
Definition at line 43 of file sll_m_particle_group_2d3v.F90.
|
private |
Set the values of the velocity of a particle.
Definition at line 44 of file sll_m_particle_group_2d3v.F90.
|
private |
Definition at line 42 of file sll_m_particle_group_2d3v.F90.
|
private |
Definition at line 30 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Definition at line 45 of file sll_m_particle_group_base.F90.
|
privateinherited |
number of particles local to the processor
Definition at line 46 of file sll_m_particle_group_base.F90.
|
privateinherited |
number of particles in total simulation
Definition at line 47 of file sll_m_particle_group_base.F90.
|
privateinherited |
number of weights per particle
Definition at line 48 of file sll_m_particle_group_base.F90.
|
private |
array of particles
Definition at line 29 of file sll_m_particle_group_2d3v.F90.
|
privateinherited |
Definition at line 44 of file sll_m_particle_group_base.F90.