|
Gromacs
2026.0-dev-20251110-920b6d1
|
Collaboration diagram for ComSumContents: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. | |
1.8.5