Merge branch 'master' into lammps-icms

This commit is contained in:
Axel Kohlmeyer
2012-11-26 08:47:57 -05:00
65 changed files with 3181 additions and 1209 deletions

View File

@ -153,7 +153,7 @@ class lammps:
def gather_atoms(self,name,type,count):
natoms = self.lib.lammps_get_natoms(self.lmp)
if type == 0:
data = ((count*natoms)*c_double)()
data = ((count*natoms)*c_int)()
self.lib.lammps_gather_atoms(self.lmp,name,type,count,data)
elif type == 1:
data = ((count*natoms)*c_double)()