Gromacs
2020.4
|
#include "gmxpre.h"
#include "gromacs/math/vectypes.h"
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/math/vec.h"
#include "testutils/testasserts.h"
Tests various corners of gmx::RVec implementation.
The main point of these tests is to check that all different constructs using gmx::RVec compile, and that some of the non-trivial conversions to/from rvec work as intended.
Functions | |
const dvec * | anonymous_namespace{vectypes.cpp}::testFunction (const dvec &x) |
Helper function for testing DVec to dvec conversions. | |
const ivec * | anonymous_namespace{vectypes.cpp}::testFunction (const ivec &x) |
Helper function for testing IVec to ivec conversions. | |
const rvec * | anonymous_namespace{vectypes.cpp}::testFunction (const rvec &x) |
Helper function for testing RVec to rvec conversions. | |