Gromacs
2025-dev-20240913-b871546
|
Typedefs | |
using | FFTTest3DParameters = std::tuple< int, int, int > |
Functions | |
void | 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 | inputdata [500] |
Input data for FFT tests. More... | |
const test::NameOfTestFromTuple < FFTTest3DParameters > | sc_testNamer |
Tuple of formatters to name the parameterized test cases. More... | |
const double gmx::test::anonymous_namespace{fft.cpp}::inputdata[500] |
Input data for FFT tests.
TODO If we require compilers that all support C++11 user literals, then this array could be of type real, initialized with e.g. -3.5_r that does not suffer from implicit narrowing with brace initializers, and we would not have to do so much useless copying during the unit tests below.
const test::NameOfTestFromTuple<FFTTest3DParameters> gmx::test::anonymous_namespace{fft.cpp}::sc_testNamer |
Tuple of formatters to name the parameterized test cases.