We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aa9f20 commit dc4f506Copy full SHA for dc4f506
src/vasp_parsers/wavecar.rs
@@ -56,11 +56,11 @@ use crate::{
56
57
58
// Constants
59
-const PI: f64 = std::f64::consts::PI;
+const PI: f64 = 3.141592653589793238;
60
const PIx2: f64 = PI * 2.0;
61
//const H_PLANCK: f64 = 6.6260755E-34;
62
//const HBAR: f64 = H_PLANCK / PIx2;
63
-const RY_TO_EV: f64 = 13.605693009;
+const RY_TO_EV: f64 = 13.605826;
64
const AU_TO_A: f64 = 0.529177249;
65
const AU_TO_DEBYE: f64 = 2.541746;
66
const HBAR2D2ME: f64 = RY_TO_EV * AU_TO_A * AU_TO_A;
0 commit comments