git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13984 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
sjplimp
2015-09-02 20:41:02 +00:00
parent 047be536bc
commit a6b9148a1e
5 changed files with 59 additions and 5 deletions

View File

@ -503,6 +503,8 @@ lmp = lammps("g++",list)
</PRE>
<PRE>lmp.close() # destroy a LAMMPS object
</PRE>
<P>version = lmp.version() # return the numerical version id, e.g. LAMMPS 2 Sep 2015 -> 20150902
</P>
<PRE>lmp.file(file) # run an entire input script, file = "in.lj"
lmp.command(cmd) # invoke a single LAMMPS command, cmd = "run 100"
</PRE>