Commit Graph

37 Commits

Author SHA1 Message Date
b232cc29df Rename wrappers to PyLammps and IPyLammps 2016-07-14 17:49:53 -04:00
ed555b86dd Add import for Py2 and Py3 compatibility 2016-07-14 17:49:21 -04:00
85d7e571e3 Add bonds, angles, dihedrals and impropers information to Python wrapper 2016-07-14 14:57:13 -04:00
dbd3a4d783 Add support for atom style variable values 2016-06-28 15:28:11 -04:00
baa39e88a0 Fix extraction of atom style variable 2016-06-28 15:27:41 -04:00
f876973bcc Merge remote-tracking branch 'upstream/lammps-icms' into improved_python_interface 2016-06-08 14:26:14 -04:00
34bf28cce0 Another Python3 compatibility fix 2016-06-07 12:50:03 +02:00
b68a2b91ab Fix data type of stored value 2016-05-31 15:38:31 -04:00
e7262acc46 Simplify access to system, comm, variable and atom data 2016-05-26 16:52:36 -04:00
171e131878 Added function to evaluate arbitrary expressions 2016-05-26 12:48:31 -04:00
f4078ed7f7 Added easy way to access variable value 2016-05-26 11:50:45 -04:00
8df11e192d Add properties to Python LAMMPS wrapper to access info command data 2016-05-25 21:01:47 -04:00
1ccc918d36 First version of more compact Python wrapper for LAMMPS 2016-05-24 12:35:10 -04:00
6193893f89 Reformat python interface 2016-05-24 11:54:09 -04:00
19b9fef0b1 Fix typo in lammps.py 2016-05-20 13:33:40 +02:00
2e01e2160e Merge branch 'merge-pull-55' into lammps-icms. add python3 compatibility
Include changes to the python wrapper and its install script
by Marting Bauer to add compatibility to python3.
2016-05-11 09:11:29 -04:00
fb13d99fa3 lammps.py: Python3 Compatibility
Python3 uses unicode strings by default which have to be
encoded before they are passed to the C-API via ctypes.

This commit encodes all string arguments by default, which works
for Python2 and Python3
2016-05-11 14:20:59 +02:00
a70623ee43 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14592 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-02-15 15:30:15 +00:00
7183e000e7 load lammps shared object for directory in LD_LIBRARY_PATH, if not found in same directory than lammps.py 2016-02-11 13:22:46 +01:00
900a3aaf9d git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14328 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-12-09 21:10:06 +00:00
b10ae0abaf git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14270 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-11-21 00:35:23 +00:00
ae980d6fd1 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13986 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-09-02 20:41:38 +00:00
79e142b2ca git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13511 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-07-02 19:09:11 +00:00
6f706543fe git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13233 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2015-03-13 22:06:20 +00:00
3ba07ca1e6 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9641 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2013-03-11 21:37:15 +00:00
ed53c9d2d5 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9036 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-11-07 15:59:05 +00:00
13dd457ae7 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9001 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-10-25 15:23:26 +00:00
e2283d1609 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9000 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-10-25 15:21:37 +00:00
d4215d8844 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8675 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-16 21:16:03 +00:00
7f5e8cb896 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8656 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-14 20:13:20 +00:00
9bb3b04ec4 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8633 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-13 22:27:24 +00:00
8df0f9c2e6 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8631 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-13 22:13:23 +00:00
0ea3d01f09 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8616 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-13 16:12:54 +00:00
c6878811f0 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8602 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-08-10 23:13:26 +00:00
4c98b2d1a9 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7710 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2012-02-06 18:19:20 +00:00
5a158918de git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7237 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2011-11-28 22:42:51 +00:00
453aba29e5 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5201 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2010-11-02 15:07:40 +00:00