GBS
prec_const_mod Module Reference

Functions/Subroutines

subroutine prec_const_init
 Initialize prec_const module. More...
 

Variables

integer, parameter stdin = input_unit
 Standard input unit. More...
 
integer, parameter stdout = output_unit
 Standard output unit. More...
 
integer, parameter stderr = error_unit
 Standard error unit. More...
 
integer, parameter dp = REAL64
 Double precision real numbers. More...
 
real(dp), public, protected nan_
 Not a number. More...
 
real(dp), parameter pi = 3.141592653589793238462643383279502884197_dp
 Pi. More...
 
real(dp), parameter pio2 = 1.57079632679489661923132169163975144209858_dp
 Pi/2. More...
 
real(dp), parameter twopi = 6.283185307179586476925286766559005768394_dp
 2Pi More...
 
real(dp), parameter sqrt2 = 1.41421356237309504880168872420969807856967_dp
 Sqrt(2) More...
 

Function/Subroutine Documentation

◆ prec_const_init()

subroutine prec_const_mod::prec_const_init

Initialize prec_const module.

Bug:
The code crashes when correctly initializing nan variable
+ Here is the caller graph for this function:

Variable Documentation

◆ dp

integer, parameter prec_const_mod::dp = REAL64

Double precision real numbers.

◆ nan_

real(dp), public, protected prec_const_mod::nan_

Not a number.

Used to initialize some arrays and detect problems

Todo:
reactivate its initialization. It had been turned off because the code crashes otherwise.

◆ pi

real(dp), parameter prec_const_mod::pi = 3.141592653589793238462643383279502884197_dp

Pi.

◆ pio2

real(dp), parameter prec_const_mod::pio2 = 1.57079632679489661923132169163975144209858_dp

Pi/2.

◆ sqrt2

real(dp), parameter prec_const_mod::sqrt2 = 1.41421356237309504880168872420969807856967_dp

Sqrt(2)

◆ stderr

integer, parameter prec_const_mod::stderr = error_unit

Standard error unit.

◆ stdin

integer, parameter prec_const_mod::stdin = input_unit

Standard input unit.

◆ stdout

integer, parameter prec_const_mod::stdout = output_unit

Standard output unit.

◆ twopi

real(dp), parameter prec_const_mod::twopi = 6.283185307179586476925286766559005768394_dp

2Pi