diff options
-rw-r--r-- | fourier_integrator.cpp | 4 | ||||
-rw-r--r-- | get_energy.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fourier_integrator.cpp b/fourier_integrator.cpp index 7669ca0..69c8b03 100644 --- a/fourier_integrator.cpp +++ b/fourier_integrator.cpp @@ -65,8 +65,8 @@ int main(int argc, char* argv[]) { unsigned n = pow(2, log2n); - Real Δτ = τₘₐₓ / M_PI / n; - Real Δω = M_PI / τₘₐₓ; + Real Δτ = (1 + τ₀ / 2) * τₘₐₓ / M_PI / n; + Real Δω = M_PI / ((1 + τ₀ / 2) * τₘₐₓ); Real z = 0.5; Real Γ₀ = 1 + τ₀ / 2; diff --git a/get_energy.cpp b/get_energy.cpp index 8c610c5..c33c04e 100644 --- a/get_energy.cpp +++ b/get_energy.cpp @@ -50,8 +50,8 @@ int main(int argc, char* argv[]) { unsigned n = pow(2, log2n); - Real Δτ = τₘₐₓ / M_PI / n; - Real Δω = M_PI / τₘₐₓ; + Real Δτ = (1 + τ₀ / 2) * τₘₐₓ / M_PI / n; + Real Δω = M_PI / ((1 + τ₀ / 2) * τₘₐₓ); Real y = y₀; |