Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
pbc.cpp File Reference
#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"
+ Include dependency graph for pbc.cpp:

Description

Tests PBC code.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

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.