Gromacs
2024.4
|
#include "gmxpre.h"
#include "gromacs/pbcutil/pbc.h"
#include "config.h"
#include <cfenv>
#include <gtest/gtest.h>
#include "gromacs/math/utilities.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/arrayref.h"
#include "testutils/refdata.h"
#include "testutils/testasserts.h"
Tests PBC code.
Functions | |
static real | gmx::test::returnSmallValue (real L) |
Small value used for testing points close to edges. More... | |
Variables | |
constexpr real | gmx::test::relativeTolerance = 0.5 * std::numeric_limits<real>::epsilon() |
Relative tolerance for the expected floating point rounding error when wrapping large numbers. | |