Gromacs
2022.1
|
#include <gtest/gtest.h>
#include "gromacs/math/vectypes.h"
Declares functions for comparing views of vector-like data.
Functions | |
template<typename T > | |
void | gmx::test::fillInputContents (ArrayRef< T > inputRef, int scaleFactorForElements) |
Initialization overload for non-BasicVector. | |
template<typename T > | |
void | gmx::test::fillInputContents (ArrayRef< BasicVector< T >> inputRef, int scaleFactorForElements) |
Initialization overload for BasicVector. | |
template<typename PaddedVectorOfT > | |
void | gmx::test::resizeAndFillInput (PaddedVectorOfT *input, int newSize, int scaleFactorForElements) |
Dispatcher function for filling. | |
template<typename T > | |
void | gmx::test::compareViews (ArrayRef< T > input, ArrayRef< T > output) |
Comparison overload for non-BasicVector. | |
template<typename T , typename U > | |
std::enable_if_t < std::is_same_v < std::remove_const_t< T > , std::remove_const_t< U > >, void > | gmx::test::compareViewsIgnoreConst (ArrayRef< T > input, ArrayRef< U > output) |
Comparison for non-BasicVector ignoring const qualifiers. | |
template<typename T > | |
void | gmx::test::compareViews (ArrayRef< BasicVector< T >> input, ArrayRef< BasicVector< T >> output) |
Comparison overload for BasicVector<T> | |