Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
sll_m_constants.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 
24 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25 #include "sll_working_precision.h"
26 
27  implicit none
28 
29  public :: &
30  sll_p_c, &
31  sll_p_charge, &
32  sll_p_mass, &
34  sll_p_fourpi, &
35  sll_p_g, &
36  sll_p_i0, &
37  sll_p_i1, &
38  sll_p_kb, &
39  sll_p_kx, &
40  sll_p_mu_0, &
41  sll_p_pi, &
43  sll_p_sqrt3, &
45 
46  private
47 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48 
50 !sll_real64, parameter :: sll_p_pi = 3.1415926535897932384626433_f64
51  sll_real64, parameter :: sll_p_pi = 3.141592653589793_f64
52 
54  sll_real64, parameter :: sll_p_twopi = 2.0_f64*sll_p_pi
55 
57  sll_real64, parameter :: sll_p_fourpi = 4.0_f64*sll_p_pi
58 
60  sll_real64, parameter :: sll_p_kx = 2.0_f64*sll_p_pi
61 
63  sll_real64, parameter :: sll_p_c = 2.99792458e8_f64
64 
66  sll_real64, parameter :: sll_p_epsilon_0 = 8.854187817e-12_f64
67 
69  sll_real64, parameter :: sll_p_mu_0 = 12.566370614e-7_f64
70 
72  sll_real64, parameter :: sll_p_charge = 1.602176565e-19_f64
73 
75  sll_real64, parameter :: sll_p_mass = 9.10938291e-31_f64
76 
78  sll_real64, parameter :: sll_p_proton_mass = 1.672621777e-27_f64
79 
81  sll_real64, parameter :: sll_p_g = 9.80665_f64
82 
84 !sll_real64, parameter :: sll_p_sqrt3 = 1.7320508075688771931766041_f64
85  sll_real64, parameter :: sll_p_sqrt3 = 1.7320508075688772_f64
86 
88  sll_real64, parameter :: sll_p_kb = 1.3806488e-23_f64
89 
91  sll_comp64, parameter :: sll_p_i1 = cmplx(0.0_f64, 1.0_f64, kind=f64)
92 
94  sll_comp64, parameter :: sll_p_i0 = (0.0_f64, 0.0_f64)
95 
96 end module sll_m_constants
Fortran module where set some physical and mathematical constants.
real(kind=f64), parameter, public sll_p_mu_0
real(kind=f64), parameter, public sll_p_sqrt3
real(kind=f64), parameter, public sll_p_pi
real(kind=f64), parameter, public sll_p_kx
real(kind=f64), parameter, public sll_p_epsilon_0
real(kind=f64), parameter, public sll_p_g
complex(kind=f64), parameter, public sll_p_i1
real(kind=f64), parameter, public sll_p_twopi
real(kind=f64), parameter, public sll_p_c
real(kind=f64), parameter, public sll_p_proton_mass
complex(kind=f64), parameter, public sll_p_i0
real(kind=f64), parameter, public sll_p_mass
real(kind=f64), parameter, public sll_p_kb
real(kind=f64), parameter, public sll_p_fourpi
real(kind=f64), parameter, public sll_p_charge
    Report Typos and Errors