Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Variables
sll_m_constants Module Reference

Description

Fortran module where set some physical and mathematical constants.

In this module, all variables must be protected

Variables

real(kind=f64), parameter, public sll_p_pi = 3.141592653589793_f64
 
real(kind=f64), parameter, public sll_p_twopi = 2.0_f64*sll_p_pi
 
real(kind=f64), parameter, public sll_p_fourpi = 4.0_f64*sll_p_pi
 
real(kind=f64), parameter, public sll_p_kx = 2.0_f64*sll_p_pi
 
real(kind=f64), parameter, public sll_p_c = 2.99792458e8_f64
 
real(kind=f64), parameter, public sll_p_epsilon_0 = 8.854187817e-12_f64
 
real(kind=f64), parameter, public sll_p_mu_0 = 12.566370614e-7_f64
 
real(kind=f64), parameter, public sll_p_charge = 1.602176565e-19_f64
 
real(kind=f64), parameter, public sll_p_mass = 9.10938291e-31_f64
 
real(kind=f64), parameter, public sll_p_proton_mass = 1.672621777e-27_f64
 
real(kind=f64), parameter, public sll_p_g = 9.80665_f64
 
real(kind=f64), parameter, public sll_p_sqrt3 = 1.7320508075688772_f64
 
real(kind=f64), parameter, public sll_p_kb = 1.3806488e-23_f64
 
complex(kind=f64), parameter, public sll_p_i1 = cmplx(0.0_f64, 1.0_f64, kind=f64)
 
complex(kind=f64), parameter, public sll_p_i0 = (0.0_f64, 0.0_f64)
 

Variable Documentation

◆ sll_p_c

real(kind=f64), parameter, public sll_p_c = 2.99792458e8_f64
Parameters
speedof light in vacuum (def) m/s

Definition at line 63 of file sll_m_constants.F90.

◆ sll_p_charge

real(kind=f64), parameter, public sll_p_charge = 1.602176565e-19_f64
Parameters
electroncharge magnitude (49) C

Definition at line 72 of file sll_m_constants.F90.

◆ sll_p_epsilon_0

real(kind=f64), parameter, public sll_p_epsilon_0 = 8.854187817e-12_f64
Parameters
permittivityof free space F/m

Definition at line 66 of file sll_m_constants.F90.

◆ sll_p_fourpi

real(kind=f64), parameter, public sll_p_fourpi = 4.0_f64*sll_p_pi
Parameters
4*PInumber

Definition at line 57 of file sll_m_constants.F90.

◆ sll_p_g

real(kind=f64), parameter, public sll_p_g = 9.80665_f64
Parameters
standardgrav. accel., sea level m/s^2

Definition at line 81 of file sll_m_constants.F90.

◆ sll_p_i0

complex(kind=f64), parameter, public sll_p_i0 = (0.0_f64, 0.0_f64)
Parameters
Complexnumber i=sqrt(-1)

Definition at line 94 of file sll_m_constants.F90.

◆ sll_p_i1

complex(kind=f64), parameter, public sll_p_i1 = cmplx(0.0_f64, 1.0_f64, kind=f64)
Parameters
Complexnumber i=sqrt(-1)

Definition at line 91 of file sll_m_constants.F90.

◆ sll_p_kb

real(kind=f64), parameter, public sll_p_kb = 1.3806488e-23_f64
Parameters
Boltzmannconstant J/K

Definition at line 88 of file sll_m_constants.F90.

◆ sll_p_kx

real(kind=f64), parameter, public sll_p_kx = 2.0_f64*sll_p_pi
Parameters
sll_p_kxis the fundamental mode in the x-direction.

Definition at line 60 of file sll_m_constants.F90.

◆ sll_p_mass

real(kind=f64), parameter, public sll_p_mass = 9.10938291e-31_f64
Parameters
electronmass (54) kg

Definition at line 75 of file sll_m_constants.F90.

◆ sll_p_mu_0

real(kind=f64), parameter, public sll_p_mu_0 = 12.566370614e-7_f64
Parameters
permeabilityof free space N/A^2

Definition at line 69 of file sll_m_constants.F90.

◆ sll_p_pi

real(kind=f64), parameter, public sll_p_pi = 3.141592653589793_f64
Parameters
PInumber

Definition at line 51 of file sll_m_constants.F90.

◆ sll_p_proton_mass

real(kind=f64), parameter, public sll_p_proton_mass = 1.672621777e-27_f64
Parameters
protonmass (10) kg

Definition at line 78 of file sll_m_constants.F90.

◆ sll_p_sqrt3

real(kind=f64), parameter, public sll_p_sqrt3 = 1.7320508075688772_f64
Parameters
valueof \( \sqrt{3} \) (needed for hexagonal meshes).

Definition at line 85 of file sll_m_constants.F90.

◆ sll_p_twopi

real(kind=f64), parameter, public sll_p_twopi = 2.0_f64*sll_p_pi
Parameters
2*PInumber

Definition at line 54 of file sll_m_constants.F90.

    Report Typos and Errors