Gromacs
2024.4
|
#include "gmxpre.h"
#include "gromacs/fft/fft.h"
#include "config.h"
#include <algorithm>
#include <optional>
#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/utility/stringutil.h"
#include "testutils/refdata.h"
#include "testutils/test_hardware_environment.h"
#include "testutils/testasserts.h"
#include "testutils/testmatchers.h"
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 | |
std::string | gmx::test::anonymous_namespace{fft.cpp}::nameOfTest (const testing::TestParamInfo< FFTTest3DParameters > &info) |
Help GoogleTest name our tests. More... | |
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... | |