Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
sll_m_particle_representations.F90
Go to the documentation of this file.
1 !**************************************************************
2 ! Copyright INRIA
3 ! Authors :
4 ! CALVI project team
5 !
6 ! This code SeLaLib (for Semi-Lagrangian-Library)
7 ! is a parallel library for simulating the plasma turbulence
8 ! in a tokamak.
9 !
10 ! This software is governed by the CeCILL-B license
11 ! under French law and abiding by the rules of distribution
12 ! of free software. You can use, modify and redistribute
13 ! the software under the terms of the CeCILL-B license as
14 ! circulated by CEA, CNRS and INRIA at the following URL
15 ! "http://www.cecill.info".
16 !**************************************************************
17 
19 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20 #include "sll_memory.h"
21 #include "sll_working_precision.h"
22 
23  implicit none
24 
25  public :: &
33 
34  private
35 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36 
39  sll_int32 :: ic
40  sll_real32 :: dx
41  sll_real32 :: dy
42  sll_real32 :: dz
43  sll_real64 :: vx
44  sll_real64 :: vy
45  sll_real64 :: vz
46  sll_real32 :: q
47  end type sll_t_particle_6d
48 
50  sll_int32 :: ic ! cell index, linearly arranged
51  sll_real32 :: dx! sll_real64 :: dx!
52  sll_real32 :: dy! sll_real64 :: dy
53  sll_real64 :: vx
54  sll_real64 :: vy
55  sll_real32 :: q! sll_real64 :: q!
56  end type sll_t_particle_4d
57 
59  type(sll_t_particle_4d), pointer :: p
61 
63  type(sll_t_particle_4d_guard), dimension(:), pointer :: g_list
65 
66 ! ------------------------------
67 ! for the GUIDING CENTER model
68 ! ------------------------------
70  sll_int32 :: ic ! cell index, linearly arranged
71  sll_real32 :: dx
72  sll_real32 :: dy
73  sll_real32 :: q
74  end type sll_t_particle_2d
75 
77  type(sll_t_particle_2d), pointer :: p
79 
81  type(sll_t_particle_2d_guard), dimension(:), pointer :: g_list
83 
84 !contains
85 
    Report Typos and Errors