VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
stel_constants.f90
Go to the documentation of this file.
1
3
4 USE stel_kinds, ONLY: rprec, dp
5
6 implicit none
7
8!----------------------------------------------------------------------
9! Mathematical constants
10!----------------------------------------------------------------------
11
12 REAL(dp), PARAMETER :: pi = 4.0_dp * datan(1.0_dp) ! 3.14159265358979323846264338328_dp
13 REAL(dp), PARAMETER :: pio2 = 2.0_dp * datan(1.0_dp) ! pi/2
14 REAL(dp), PARAMETER :: twopi = 8.0_dp * datan(1.0_dp) ! 2.0_dp*pi
15 REAL(dp), PARAMETER :: sqrt2 = 1.41421356237309504880168872_dp
16 REAL(dp), PARAMETER :: degree = twopi / 360_dp
17 REAL(dp), PARAMETER :: one = 1.0_dp
18 REAL(dp), PARAMETER :: zero = 0.0_dp
19
20!----------------------------------------------------------------------
21! Physical constants
22!------------------------------------------------------------------
23
24 REAL(dp), PARAMETER :: mu0 = 2.0e-7_dp * twopi ! * 1.0e-7_dp
25
26END MODULE stel_constants
real(dp), parameter sqrt2
real(dp), parameter pio2
real(dp), parameter twopi
real(dp), parameter pi
real(dp), parameter degree
real(dp), parameter mu0
real(dp), parameter one
real(dp), parameter zero
integer, parameter dp
integer, parameter rprec