Report Typos and Errors
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
particle_methods
pic_opt
pic_opt_particles
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
18
module
sll_m_particle_representations
19
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20
#include "sll_memory.h"
21
#include "sll_working_precision.h"
22
23
implicit none
24
25
public
:: &
26
sll_t_particle_2d
, &
27
sll_t_particle_2d_guard
, &
28
sll_t_particle_2d_guard_ptr
, &
29
sll_t_particle_4d
, &
30
sll_t_particle_4d_guard
, &
31
sll_t_particle_4d_guard_ptr
, &
32
sll_t_particle_6d
33
34
private
35
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36
38
type
::
sll_t_particle_6d
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
49
type
::
sll_t_particle_4d
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
58
type
::
sll_t_particle_4d_guard
59
type
(
sll_t_particle_4d
),
pointer
:: p
60
end type
sll_t_particle_4d_guard
61
62
type
::
sll_t_particle_4d_guard_ptr
63
type
(
sll_t_particle_4d_guard
),
dimension(:)
,
pointer
:: g_list
64
end type
sll_t_particle_4d_guard_ptr
65
66
! ------------------------------
67
! for the GUIDING CENTER model
68
! ------------------------------
69
type
::
sll_t_particle_2d
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
76
type
::
sll_t_particle_2d_guard
77
type
(
sll_t_particle_2d
),
pointer
:: p
78
end type
sll_t_particle_2d_guard
79
80
type
::
sll_t_particle_2d_guard_ptr
81
type
(
sll_t_particle_2d_guard
),
dimension(:)
,
pointer
:: g_list
82
end type
sll_t_particle_2d_guard_ptr
83
84
!contains
85
86
end module
sll_m_particle_representations
sll_m_particle_representations
Definition:
sll_m_particle_representations.F90:18
sll_m_particle_representations::sll_t_particle_2d_guard_ptr
Definition:
sll_m_particle_representations.F90:80
sll_m_particle_representations::sll_t_particle_2d_guard
Definition:
sll_m_particle_representations.F90:76
sll_m_particle_representations::sll_t_particle_2d
Definition:
sll_m_particle_representations.F90:69
sll_m_particle_representations::sll_t_particle_4d_guard_ptr
Definition:
sll_m_particle_representations.F90:62
sll_m_particle_representations::sll_t_particle_4d_guard
Definition:
sll_m_particle_representations.F90:58
sll_m_particle_representations::sll_t_particle_4d
Definition:
sll_m_particle_representations.F90:49
sll_m_particle_representations::sll_t_particle_6d
Type for a single particle in a 3d volume.
Definition:
sll_m_particle_representations.F90:38
Report Typos and Errors
Generated on Mon Oct 23 2023 19:15:41 for Semi-Lagrangian Library by
1.9.1