From 685c562740aed1c62ec5ae27d5c138ce57e2dcee Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sat, 5 Apr 2025 11:25:41 -0300 Subject: Rescale τₘₐₓ with τ₀ to make approximations more consistent accross parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fourier_integrator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fourier_integrator.cpp') 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; -- cgit v1.2.3-70-g09d2