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

This commit is contained in:
pscrozi
2014-02-04 22:24:04 +00:00
parent 2adacbe439
commit 30b091db28

View File

@ -1164,6 +1164,7 @@ void FixGCMC::get_model_molecule()
double com[3];
gas_mass = group->mass(0);
group->xcm(0,gas_mass,com);
gas_mass /= comm->nprocs;
double **x = atom->x;
for (int i = 0; i < nlocal; i++) {