|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for FFT implementation (replacement for gsl_fft) More...
#include <gtest/gtest.h>#include <cmath>#include <complex>#include <vector>#include "Utilities/GSLFFT.h"
Go to the source code of this file.
Classes | |
| class | FFTTest |
Functions | |
| TEST_F (FFTTest, ComplexFFT_Identity) | |
| TEST_F (FFTTest, RealFFT_Transform) | |
| TEST_F (FFTTest, ComplexFFT_Forward) | |
| TEST_F (FFTTest, ComplexFFT_Inverse) | |
| TEST_F (FFTTest, FFT_InverseRoundTrip) | |
| TEST_F (FFTTest, Radix2Forward) | |
| TEST_F (FFTTest, Radix2Inverse) | |
Unit tests for FFT implementation (replacement for gsl_fft)
This file contains unit tests for GSL-compatible Fast Fourier Transform (FFT) implementations. The implementation uses the Cooley-Tukey algorithm for computing FFTs of real and complex data.
Definition in file TestFFT.cpp.
| TEST_F | ( | FFTTest | , |
| ComplexFFT_Forward | |||
| ) |
Definition at line 98 of file TestFFT.cpp.
References gsl_fft_complex_forward(), gsl_fft_complex_wavetable_alloc(), gsl_fft_complex_wavetable_free(), gsl_fft_complex_workspace_alloc(), and gsl_fft_complex_workspace_free().

| TEST_F | ( | FFTTest | , |
| ComplexFFT_Identity | |||
| ) |
Definition at line 59 of file TestFFT.cpp.
| TEST_F | ( | FFTTest | , |
| ComplexFFT_Inverse | |||
| ) |
Definition at line 125 of file TestFFT.cpp.
References gsl_fft_complex_inverse(), gsl_fft_complex_wavetable_alloc(), gsl_fft_complex_wavetable_free(), gsl_fft_complex_workspace_alloc(), and gsl_fft_complex_workspace_free().

| TEST_F | ( | FFTTest | , |
| FFT_InverseRoundTrip | |||
| ) |
Definition at line 148 of file TestFFT.cpp.
References gsl_fft_complex_forward(), gsl_fft_complex_inverse(), gsl_fft_complex_wavetable_alloc(), gsl_fft_complex_wavetable_free(), gsl_fft_complex_workspace_alloc(), and gsl_fft_complex_workspace_free().

| TEST_F | ( | FFTTest | , |
| Radix2Forward | |||
| ) |
Definition at line 180 of file TestFFT.cpp.
References gsl_fft_complex_radix2_forward().

| TEST_F | ( | FFTTest | , |
| Radix2Inverse | |||
| ) |
Definition at line 201 of file TestFFT.cpp.
References gsl_fft_complex_radix2_inverse().

| TEST_F | ( | FFTTest | , |
| RealFFT_Transform | |||
| ) |
Definition at line 75 of file TestFFT.cpp.
References gsl_fft_real_transform(), gsl_fft_real_wavetable_alloc(), gsl_fft_real_wavetable_free(), gsl_fft_real_workspace_alloc(), and gsl_fft_real_workspace_free().
