# | Line 236 | Line 236 | class Molecule { | |
---|---|---|
236 | /** return the total potential energy of short range interaction of this molecule */ | |
237 | double getPotential(); | |
238 | ||
239 | + | /** get total mass of this molecule */ |
240 | + | double getMass(); |
241 | ||
242 | /** return the center of mass of this molecule */ | |
243 | Vector3d getCom(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |