#include <gromacs/nbnxm/tests/testsystem.h>
Description of the system used for testing.
|
|
static real | maxCharge () |
| | Returns the absolute value of the largest partial charge of the atoms in the system.
|
| |
|
|
static constexpr int | sc_numEnergyGroups = 3 |
| | The number of energy groups used by the test system.
|
| |
| gmx::test::TestSystem::TestSystem |
( |
LJCombinationRule |
ljCombinationRule, |
|
|
bool |
oneThirdNoChargeAndOneThirdAllLJ |
|
) |
| |
Constructor.
Generates test system of a cubic box partially filled with 81 water molecules. It has parts with uncharged molecules, normal SPC/E and part with full LJ.
It assigns energy groups in round-robin style based on the largest number of energy groups that might be being tested. This is not general enough to work if we would extend the number of energy-group cases that we test.
- Parameters
-
| [in] | ljCombinationRule | Sets the LJ parameter combination rule |
| [in] | oneThirdNoChargeAndOneThirdAllLJ | Sets whether the first third of the molecules don't have charge and the last third LJ on all atoms |
The documentation for this struct was generated from the following files:
- src/gromacs/nbnxm/tests/testsystem.h
- src/gromacs/nbnxm/tests/testsystem.cpp