Merge remote-tracking branch 'lammps-ro/master' into lammps-icms

This commit is contained in:
Axel Kohlmeyer
2013-12-26 09:54:51 +01:00

View File

@ -1156,6 +1156,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++) {