From 13bfd9e1cdfe3bc2cc109af67e0648516b5787ea Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 19 May 2025 12:09:47 -0300 Subject: Removed unused integrator code, cleaned up Makefile and .gitignore --- fourier.hpp | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 fourier.hpp (limited to 'fourier.hpp') diff --git a/fourier.hpp b/fourier.hpp deleted file mode 100644 index 6be0931..0000000 --- a/fourier.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#pragma once -#include "types.hpp" - -#include -#include -#include -#include - -#ifndef FFTW_THREADS -#define FFTW_THREADS 1 -#endif - -class FourierTransform { -private: - Real* a; - Complex* â; - fftw_plan plan_r2c; - fftw_plan plan_c2r; - unsigned n; - Real Δω; - Real Δτ; -public: - FourierTransform(unsigned n, Real Δω, Real Δτ, unsigned flags = 0); - ~FourierTransform(); - std::vector fourier(const std::vector& c); - 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); -}; - -std::string fourierFile(std::string prefix, unsigned p, unsigned s, Real λ, Real τ₀, Real y, unsigned log2n, Real τₘₐₓ); -Real energy(const std::vector& C, const std::vector& R, unsigned p, unsigned s, Real λ, Real y, Real Δτ); -std::tuple, std::vector> RddfCtdfCt(FourierTransform& fft, const std::vector& C, const std::vector& R, unsigned p, unsigned s, Real λ); -Real estimateZ(FourierTransform& fft, const std::vector& C, const std::vector& Ct, const std::vector& R, const std::vector& Rt, unsigned p, unsigned s, Real λ, Real τ₀, Real y); -- cgit v1.2.3-70-g09d2