git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9036 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -152,7 +152,7 @@ class lammps:
|
|||||||
def gather_atoms(self,name,type,count):
|
def gather_atoms(self,name,type,count):
|
||||||
natoms = self.lib.lammps_get_natoms(self.lmp)
|
natoms = self.lib.lammps_get_natoms(self.lmp)
|
||||||
if type == 0:
|
if type == 0:
|
||||||
data = ((count*natoms)*c_double)()
|
data = ((count*natoms)*c_int)()
|
||||||
self.lib.lammps_gather_atoms(self.lmp,name,type,count,data)
|
self.lib.lammps_gather_atoms(self.lmp,name,type,count,data)
|
||||||
elif type == 1:
|
elif type == 1:
|
||||||
data = ((count*natoms)*c_double)()
|
data = ((count*natoms)*c_double)()
|
||||||
|
|||||||
Reference in New Issue
Block a user