Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
constr.cpp File Reference
#include "gmxpre.h"
#include "config.h"
#include <cassert>
#include <unordered_map>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/math/vec.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/refdata.h"
#include "testutils/test_hardware_environment.h"
#include "testutils/testasserts.h"
#include "constrtestdata.h"
#include "constrtestrunners.h"
+ Include dependency graph for constr.cpp:

Description

SHAKE and LINCS tests.

Todo:

Better tests for virial are needed.

Tests for bigger systems to test threads synchronization, reduction, etc. on the GPU.

Tests for algorithms for derivatives.

Free-energy perturbation tests

Author
Artem Zhmurov zhmur.nosp@m.ov@g.nosp@m.mail..nosp@m.com

Classes

class  gmx::test::anonymous_namespace{constr.cpp}::ConstraintsTest
 Test fixture for constraints. More...
 

Functions

static void PrintTo (const t_pbc &pbc, std::ostream *os)
 Helper function to convert t_pbc into string and make test failure messages readable.
 
void gmx::test::anonymous_namespace{constr.cpp}::PrintTo (const ConstraintsTestSystem &constraintsTestSystem, std::ostream *os)
 Helper function to convert ConstraintsTestSystem into string and make test failure messages readable.
 

Variables

const std::vector< t_pbcgmx::test::anonymous_namespace{constr.cpp}::c_pbcs
 
const std::vector
< ConstraintsTestSystem > 
gmx::test::anonymous_namespace{constr.cpp}::c_constraintsTestSystemList