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

This commit is contained in:
sjplimp
2013-03-11 21:37:15 +00:00
parent dd6ff4ebce
commit 3ba07ca1e6
5 changed files with 33 additions and 30 deletions

View File

@ -91,7 +91,10 @@ viz_tool.py in.viz 100 5000
vizplotgui_tool.py in.viz 100 thermo_temp
You can un-comment the Pypar calls if you want to run these in
parallel.
parallel. Then, for example, you can type:
% mpirun -np 4 trivial.py in.trivial
% mpirun -np 4 python trivial.py in.trivial
Each script has more documentation in the file that explains how to
use it and what it is doing.

View File

@ -105,7 +105,7 @@ class lammps:
if type == 0:
if style > 0: return None
self.lib.lammps_extract_fix.restype = POINTER(c_double)
ptr = self.lib.lammps_extract_bix(self.lmp,id,style,type,i,j)
ptr = self.lib.lammps_extract_fix(self.lmp,id,style,type,i,j)
result = ptr[0]
self.lib.lammps_free(ptr)
return result