Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
testarrayrefs.h File Reference
#include <gtest/gtest.h>
#include "gromacs/math/vectypes.h"
+ Include dependency graph for testarrayrefs.h:

Description

Declares functions for comparing views of vector-like data.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Functions

template<typename T >
void gmx::test::fillInputContents (ArrayRef< T > inputRef, int scaleFactor)
 Initialization overload for non-BasicVector.
 
template<typename T >
void gmx::test::fillInputContents (ArrayRef< BasicVector< T >> inputRef, int scaleFactor)
 Initialization overload for BasicVector.
 
template<typename PaddedVectorOfT >
void gmx::test::fillInput (PaddedVectorOfT *input, int scaleFactor)
 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 >
void gmx::test::compareViews (ArrayRef< BasicVector< T >> input, ArrayRef< BasicVector< T >> output)
 Comparison overload for BasicVector<T>