Gromacs
2026.0-dev-20241204-d69d709
|
#include "gmxpre.h"
#include "gromacs/math/vectypes.h"
#include <array>
#include <string>
#include <utility>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/math/vec.h"
#include "gromacs/utility/real.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 * | gmx::test::anonymous_namespace{vectypes.cpp}::testFunction (const dvec &x) |
Helper function for testing DVec to dvec conversions. | |
const ivec * | gmx::test::anonymous_namespace{vectypes.cpp}::testFunction (const ivec &x) |
Helper function for testing IVec to ivec conversions. | |
const rvec * | gmx::test::anonymous_namespace{vectypes.cpp}::testFunction (const rvec &x) |
Helper function for testing RVec to rvec conversions. | |