Gromacs  2024.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::test::anonymous_namespace{virtualsites.cpp}::VirtualSiteTest::VirtualSite Struct Reference

Description

Holds parameters of virtual site and allows calculation.

Public Member Functions

std::tuple< RVec, RVeccalculate (ArrayRef< const RVec > constructingPositions, ArrayRef< const RVec > constructingVelocities) const
 Dispatch function to compute position and velocity of virtual site from reference implementation based on type.
 

Public Attributes

int type
 Type of virtual site.
 
int atomIdx
 Index of virtual site.
 
std::vector< int > constructingAtomIdx
 Indices of constructing atoms.
 
std::vector< realparameters
 Construction parameters.
 

The documentation for this struct was generated from the following file: