From 8c21730325446e38c598765c8a7f1637c15aa235 Mon Sep 17 00:00:00 2001 From: Aadi B <122440845+aadi-bh@users.noreply.github.com> Date: Fri, 24 Nov 2023 23:23:58 +0530 Subject: [PATCH] Burgers timing bug exists. Moving on --- .gitignore | 2 +- _site/.DS_Store | Bin 6148 -> 0 bytes _site/data/linadv_exp2/1024.txt | 2 ++ _site/data/linadv_exp2/128.txt | 2 ++ _site/data/linadv_exp2/16.txt | 2 ++ _site/data/linadv_exp2/2048.txt | 2 ++ _site/data/linadv_exp2/256.txt | 2 ++ _site/data/linadv_exp2/32.txt | 2 ++ _site/data/linadv_exp2/512.txt | 2 ++ _site/data/linadv_exp2/64.txt | 2 ++ ..._tooth-cesaro.png => saw_tooth-cesaro.png} | Bin ...ential2.png => saw_tooth-exponential2.png} | Bin ...ooth-lanczos.png => saw_tooth-lanczos.png} | Bin ...-no_filter.png => saw_tooth-no_filter.png} | Bin ...raisedcos.png => saw_tooth-raised_cos.png} | Bin common.py | 2 +- main.py | 6 +++--- op.py | 19 +++++++++++++++--- 18 files changed, 37 insertions(+), 8 deletions(-) delete mode 100644 _site/.DS_Store create mode 100644 _site/data/linadv_exp2/1024.txt create mode 100644 _site/data/linadv_exp2/128.txt create mode 100644 _site/data/linadv_exp2/16.txt create mode 100644 _site/data/linadv_exp2/2048.txt create mode 100644 _site/data/linadv_exp2/256.txt create mode 100644 _site/data/linadv_exp2/32.txt create mode 100644 _site/data/linadv_exp2/512.txt create mode 100644 _site/data/linadv_exp2/64.txt rename _site/plots/linadv_filters/{linadv-viscFalse-1.0-saw_tooth-cesaro.png => saw_tooth-cesaro.png} (100%) rename _site/plots/linadv_filters/{linadv-viscFalse-1.0-saw_tooth-exponential2.png => saw_tooth-exponential2.png} (100%) rename _site/plots/linadv_filters/{linadv-viscFalse-1.0-saw_tooth-lanczos.png => saw_tooth-lanczos.png} (100%) rename _site/plots/linadv_filters/{linadv-viscFalse-1.0-saw_tooth-no_filter.png => saw_tooth-no_filter.png} (100%) rename _site/plots/linadv_filters/{linadv-viscFalse-1.0-saw_tooth-raisedcos.png => saw_tooth-raised_cos.png} (100%) diff --git a/.gitignore b/.gitignore index 0add12e..666f4a0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -.DS_Store +**.DS_Store **__pycache__ diff --git a/_site/.DS_Store b/_site/.DS_Store deleted file mode 100644 index d86e87fe42ae36eae90cc64b5a89f71bc8f52afe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKOHRZv41I=KR2m7*l4Ur;oPaPYCzt~OL-~x<(hX=hTb~^&VV!U!GN9*flV=H>=!e3h87OV#fRjb--{PXyL0`J+#%7>duPBI7&5SH! 0.5: + u_hat *= filter + print("Applied filter") + NN = len(u_hat) u = ifft(u_hat) kk = freqs(NN) nonlinear = -1 * fft(u**2/2) * 1j * kk