|
Gromacs
2025.3
|
#include "gmxpre.h"#include "gromacs/fft/fft.h"#include "config.h"#include <cstring>#include <algorithm>#include <optional>#include <string>#include <tuple>#include <vector>#include <gmock/gmock.h>#include <gtest/gtest.h>#include "gromacs/fft/gpu_3dfft.h"#include "gromacs/fft/parallel_3dfft.h"#include "gromacs/gpu_utils/clfftinitializer.h"#include "gromacs/math/gmxcomplex.h"#include "gromacs/math/vectypes.h"#include "gromacs/utility/arrayref.h"#include "gromacs/utility/basedefinitions.h"#include "gromacs/utility/real.h"#include "gromacs/utility/strconvert.h"#include "gromacs/utility/stringutil.h"#include "testutils/naming.h"#include "testutils/refdata.h"#include "testutils/test_hardware_environment.h"#include "testutils/testasserts.h"#include "testutils/testmatchers.h"
Include dependency graph for fft.cpp:Tests utilities for fft calculations.
Current reference data is generated in double precision using the Reference build type, except for the compiler (Apple Clang).
Typedefs | |
| using | gmx::test::anonymous_namespace{fft.cpp}::FFTTest3DParameters = std::tuple< int, int, int > |
Functions | |
| void | gmx::test::anonymous_namespace{fft.cpp}::checkRealGrid (const ivec realGridSize, const ivec realGridSizePadded, ArrayRef< const real > inputRealGrid, ArrayRef< real > outputRealGridValues) |
| Check that the real grid after forward and backward 3D transforms matches the input real grid. | |
Variables | |
| const double | gmx::test::anonymous_namespace{fft.cpp}::inputdata [500] |
| Input data for FFT tests. More... | |
| const test::NameOfTestFromTuple < FFTTest3DParameters > | gmx::test::anonymous_namespace{fft.cpp}::sc_testNamer |
| Tuple of formatters to name the parameterized test cases. More... | |
1.8.5