Gromacs
2024.4
|
#include "gmxpre.h"
#include "constrtestrunners.h"
#include "config.h"
#include <cassert>
#include <cmath>
#include <algorithm>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/math/paddedvector.h"
#include "gromacs/math/vec.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/mdlib/constr.h"
#include "gromacs/mdlib/lincs.h"
#include "gromacs/mdlib/shake.h"
#include "gromacs/mdrunutility/multisim.h"
#include "gromacs/mdtypes/commrec.h"
#include "gromacs/mdtypes/inputrec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/idef.h"
#include "gromacs/topology/ifunc.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/listoflists.h"
#include "gromacs/utility/unique_cptr.h"
#include "testutils/testasserts.h"
Function to run SHAKE and LINCS on CPU.
Functions used in the test to apply constraints on the test data: CPU-based implementation and a stub for GPU-based implementation.