forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11577 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
6e4e17769e
commit
cde0125c90
|
@ -126,7 +126,7 @@ void Molecule::compute_mass()
|
|||
masstotal = 0.0;
|
||||
for (int i = 0; i < natoms; i++) {
|
||||
if (rmassflag) masstotal += rmass[i];
|
||||
else masstotal += atom->type[type[i]];
|
||||
else masstotal += atom->mass[type[i]];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue