expose numetical version id to library and python interface

This commit is contained in:
Axel Kohlmeyer
2015-09-01 10:31:43 -04:00
parent a91a75bb0d
commit 233a9edfa8
3 changed files with 15 additions and 0 deletions

View File

@ -70,6 +70,9 @@ class lammps:
if self.opened: self.lib.lammps_close(self.lmp)
self.lmp = None
def version(self):
return self.lib.lammps_version(self.lmp)
def file(self,file):
self.lib.lammps_file(self.lmp,file)