Gromacs
2025.0-dev-20241009-5c23d5f
|
Classes | |
struct | OutputQuantities |
Output from bonded kernels. More... | |
struct | iListInput |
Input structure for listed forces tests. More... | |
Functions | |
void | checkOutput (TestReferenceChecker *checker, const OutputQuantities &output, const BondedKernelFlavor bondedKernelFlavor) |
Utility to check the output from bonded tests. More... | |
std::ostream & | operator<< (std::ostream &out, const iListInput &input) |
Prints the interaction and parameters to a stream. | |
void | fillIatoms (int ftype, std::vector< t_iatom > *iatoms) |
Utility to fill iatoms struct. More... | |
Variables | |
constexpr int | c_numAtoms = 4 |
Number of atoms used in these tests. | |
std::vector< iListInput > | c_InputBonds |
Function types for testing bonds. Add new terms at the end. More... | |
const real | cQuarticAngles [5] = { 1.1, 2.3, 4.6, 7.8, 9.2 } |
Constants for Quartic Angles. | |
std::vector< iListInput > | c_InputAngles |
Function types for testing angles. Add new terms at the end. More... | |
const real | rbcA [NR_RBDIHS] = { -5.35, 13.6, 8.4, -16.7, 0.3, 12.4 } |
Constants for Ryckaert-Bellemans A. | |
const real | rbcB [NR_RBDIHS] = { -6.35, 12.6, 8.1, -10.7, 0.9, 15.4 } |
Constants for Ryckaert-Bellemans B. | |
const real | rbc [NR_RBDIHS] = { -7.35, 13.6, 8.4, -16.7, 1.3, 12.4 } |
Constants for Ryckaert-Bellemans without FEP. | |
std::vector< iListInput > | c_InputDihs |
Function types for testing dihedrals. Add new terms at the end. More... | |
std::vector< iListInput > | c_InputPols |
Function types for testing polarization. Add new terms at the end. More... | |
std::vector< iListInput > | c_InputRestraints |
Function types for testing polarization. Add new terms at the end. More... | |
std::vector< iListInput > | c_InputBondsZeroLength |
Function types for testing bond with zero length, has zero reference length to make physical sense. More... | |
std::vector< iListInput > | c_InputAnglesZeroAngle |
Function types for testing angles with zero angle, has zero reference angle to make physical sense. More... | |
std::vector< PaddedVector< RVec > > | c_coordinatesForTests |
Coordinates for testing. More... | |
std::vector< PaddedVector< RVec > > | c_coordinatesForTestsZeroBondLength |
Coordinates for testing bonds with zero length. More... | |
std::vector< PaddedVector< RVec > > | c_coordinatesForTestsZeroAngle |
Coordinates for testing bonds with zero length. More... | |
std::vector< PbcType > | c_pbcForTests = { PbcType::No, PbcType::XY, PbcType::Xyz } |
PBC values for testing. | |
void gmx::test::anonymous_namespace{bonded.cpp}::checkOutput | ( | TestReferenceChecker * | checker, |
const OutputQuantities & | output, | ||
const BondedKernelFlavor | bondedKernelFlavor | ||
) |
Utility to check the output from bonded tests.
[in] | checker | Reference checker |
[in] | output | The output from the test to check |
[in] | bondedKernelFlavor | Flavor for determining what output to check |
void gmx::test::anonymous_namespace{bonded.cpp}::fillIatoms | ( | int | ftype, |
std::vector< t_iatom > * | iatoms | ||
) |
Utility to fill iatoms struct.
[in] | ftype | Function type |
[out] | iatoms | Pointer to iatoms struct |
std::vector<PaddedVector<RVec> > gmx::test::anonymous_namespace{bonded.cpp}::c_coordinatesForTests |
Coordinates for testing.
Taken from a butane molecule, so we have some normal-sized bonds and angles to test.
std::vector<PaddedVector<RVec> > gmx::test::anonymous_namespace{bonded.cpp}::c_coordinatesForTestsZeroAngle |
Coordinates for testing bonds with zero length.
std::vector<PaddedVector<RVec> > gmx::test::anonymous_namespace{bonded.cpp}::c_coordinatesForTestsZeroBondLength |
Coordinates for testing bonds with zero length.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputAngles |
Function types for testing angles. Add new terms at the end.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputAnglesZeroAngle |
Function types for testing angles with zero angle, has zero reference angle to make physical sense.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputBonds |
Function types for testing bonds. Add new terms at the end.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputBondsZeroLength |
Function types for testing bond with zero length, has zero reference length to make physical sense.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputDihs |
Function types for testing dihedrals. Add new terms at the end.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputPols |
Function types for testing polarization. Add new terms at the end.
std::vector<iListInput> gmx::test::anonymous_namespace{bonded.cpp}::c_InputRestraints |
Function types for testing polarization. Add new terms at the end.