Gromacs
2026.0-dev-20241213-9ac17bb
|
Struct containing the quantities calculated by sumComForRestraints.
Public Member Functions | |
gmx::RVec | com () const |
Return the COM or returns zero when the sum of masses is zero. | |
Public Attributes | |
int | numAtoms = 0 |
Number of restrained atoms. | |
gmx::DVec | sumCoordinateMasses = { 0.0, 0.0, 0.0 } |
Sum of position*mass of all restrained atoms. | |
double | sumMass = 0.0 |
Sum of the mass of all restrained mass atoms. | |