Gromacs
2025-dev-20240906-b7d3419
|
Holds parameters of virtual site and allows calculation.
Public Member Functions | |
std::tuple< RVec, RVec > | calculate (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< real > | parameters |
Construction parameters. | |