We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2cc7bd2 + 4956b46 commit 4ebe266Copy full SHA for 4ebe266
src/stdlib_constants.fypp
@@ -40,7 +40,7 @@ module stdlib_constants
40
real(dp), parameter, public :: epsilon_0 = VACUUM_ELECTRIC_PERMITTIVITY%value !! vacuum mag. permeability
41
real(dp), parameter, public :: h = PLANCK_CONSTANT%value !! Planck constant
42
real(dp), parameter, public :: Planck = PLANCK_CONSTANT%value !! Planck constant
43
- real(dp), parameter, public :: hbar = PLANCK_CONSTANT%value / PI_dp !! Reduced Planck constant
+ real(dp), parameter, public :: hbar = PLANCK_CONSTANT%value / (2.0_dp * PI_dp) !! Reduced Planck constant
44
real(dp), parameter, public :: G = NEWTONIAN_CONSTANT_OF_GRAVITATION%value !! Newtonian constant of gravitation
45
real(dp), parameter, public :: gravitation_constant = NEWTONIAN_CONSTANT_OF_GRAVITATION%value !! Newtonian constant of gravitation
46
real(dp), parameter, public :: g2 = STANDARD_ACCELERATION_OF_GRAVITY%value !! Standard acceleration of gravity
0 commit comments