From 717558730554dbb470fbda0700f14fc43595063d Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 18 Apr 2025 20:04:58 -0300 Subject: Got the log-fourier method working, but integrator is not working correctly --- fourier.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'fourier.hpp') diff --git a/fourier.hpp b/fourier.hpp index 22a57e7..1708667 100644 --- a/fourier.hpp +++ b/fourier.hpp @@ -44,15 +44,14 @@ private: fftw_plan a_to_â; fftw_plan â_to_a; unsigned N; + unsigned pad; Real k; Real Δτ; - Real Δω; - Real Δs; Real τₛ; Real ωₛ; Real sₛ; public: - LogarithmicFourierTransform(unsigned N, Real k, Real Δω, Real Δτ, Real Δs); + LogarithmicFourierTransform(unsigned N, Real k, Real Δτ, unsigned pad = 4); ~LogarithmicFourierTransform(); Real τ(unsigned n) const; Real ω(unsigned n) const; @@ -60,10 +59,7 @@ public: Real ν(unsigned n) const; Real s(unsigned n) const; std::vector fourier(const std::vector& c, bool symmetric); - std::vector fourier(); std::vector inverse(const std::vector& ĉ); - void writeToA(unsigned i, Real ai); - std::vector convolve(const std::vector& Γh, const std::vector& R); }; Complex gamma(Complex z); -- cgit v1.2.3-70-g09d2