git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13347 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-03-31 21:44:24 +00:00
parent 87d5920431
commit 07239290ec

View File

@ -154,7 +154,8 @@ void Molecule::compute_mass()
/* ----------------------------------------------------------------------
compute com = center of mass of molecule
could have been set by user, otherwise calculate it
NOTE: account for finite size particles?
NOTE: does not account for finite size particles
user should specify COM if wants that effect
also compute:
dxcom = displacement of each atom from COM
comatom = which atom (1-Natom) is nearest the COM