diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-05 11:25:41 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-05 11:25:41 -0300 |
commit | 685c562740aed1c62ec5ae27d5c138ce57e2dcee (patch) | |
tree | b3823fcebc34b030d57f097f471119de0e393d2e /get_energy.cpp | |
parent | 96875ddafbf1ff821a4a1fd628c2e4758096700c (diff) | |
download | code-685c562740aed1c62ec5ae27d5c138ce57e2dcee.tar.gz code-685c562740aed1c62ec5ae27d5c138ce57e2dcee.tar.bz2 code-685c562740aed1c62ec5ae27d5c138ce57e2dcee.zip |
Rescale τₘₐₓ with τ₀ to make approximations more consistent accross parameters
Diffstat (limited to 'get_energy.cpp')
-rw-r--r-- | get_energy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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₀; |