Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
gmx::test::anonymous_namespace{com.cpp} Namespace Reference


class  COMInPlaceTest
 Test fixture for checking correct molecule COM treatment. More...


using COMInPlaceTestParams = std::tuple< UnitCellType, CenteringType, PbcType >


void populateMoleculeType (gmx_moltype_t *moltype)
 Populates a molectype for generate a graph. More...
std::vector< RVecinitialCoordinates ()
 Set up initial coordinates.

Function Documentation

void gmx::test::anonymous_namespace{com.cpp}::populateMoleculeType ( gmx_moltype_t moltype)

Populates a molectype for generate a graph.

This moleculetype has the first and last atom not connected to the other atoms so we test optimizations in the shift code that generates the actual graph only for the atom range from the first to the last connected atoms.

Defines three residues to test residue and molecule COM handling.

Return moltype once t_atoms is a proper class.