Commit Graph

136 Commits

Author SHA1 Message Date
39b643a94b Allow setting the position of atoms 2016-08-09 04:11:42 -04:00
0a75617f4d Return 2D vectors in 2D cases 2016-08-09 04:11:05 -04:00
c17e700e86 Fix resource leak 2016-08-09 04:08:01 -04:00
c76672ab86 remove erroneously added backup files 2016-07-23 06:30:57 -04:00
01881e6fcc Merge remote-tracking branch 'lammps-ro/master' into lammps-icms 2016-07-23 06:28:40 -04:00
7dc6873c51 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15360 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-07-22 22:59:39 +00:00
952a0d1fb7 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15359 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-07-22 22:58:42 +00:00
778f4d338c git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15358 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-07-22 22:57:54 +00:00
182425df15 add new API to library interface lammps_get_thermo(). include support in python wrapper, too. 2016-07-21 19:43:03 -04:00
a569a871c1 shorten >80 char comment lines 2016-07-19 23:06:04 -04:00
2b8a3a076a some python3 porting of pizza.py code 2016-07-19 18:06:37 -04:00
21ea3ccfb7 start porting some LAMMPS python module examples to python3 with compatibility to python2 2016-07-19 16:59:57 -04:00
fe5554735b make destructor and close() function in PyLammps() class safe against constructor problems 2016-07-18 23:16:18 -04:00
9a76df95c3 make IPyLammps() class compatible with lammps() and PyLammps() arguments 2016-07-18 23:15:20 -04:00
899c5401ab accept PyLammps() and lammps() objects for ptr argument and initialize as needed 2016-07-18 23:14:29 -04:00
0aebb2eabe add type checking to 'ptr' argument for lammps() class constructor. raise exception if incompatible 2016-07-18 23:12:59 -04:00
4ac8af8bea support destructor and close(), version(), command() and file() methods from lammps() class in PyLammps() simply by forwarding the arguments to the corresponding function 2016-07-18 21:17:30 -04:00
fcd4d7ceb7 make PyLammps() constructor take the same arguments as lammps() and forward them as needed 2016-07-18 21:15:51 -04:00
052de8440f derive class lammps from object to follow the usual python conventions 2016-07-18 21:13:56 -04:00
b83e4c82ec Merge branch 'improved_python_interface' of https://github.com/rbberger/lammps into merge-pull-116 2016-07-18 18:25:24 -04:00
763f72fa39 Updated iPython notebooks (Py2 and Py3 compatible) 2016-07-18 18:23:45 -04:00
abad5dfe3c Better Python 2 support and simpler construction 2016-07-18 18:21:33 -04:00
f33447dad5 Merge branch 'improved_python_interface' of https://github.com/rbberger/lammps into merge-pull-116 2016-07-18 16:08:10 -04:00
a394d1b436 Updated README in python folder 2016-07-18 16:03:20 -04:00
ffab7ebba5 fully restore steve's python formatting style 2016-07-18 14:32:39 -04:00
45204726d8 Revert to 2 spaces for Steve 2016-07-18 13:55:46 -04:00
80fce623ec git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15326 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-07-15 22:59:07 +00:00
7bc6d1cfd2 Updated ipython examples 2016-07-14 17:50:20 -04:00
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
ee0a8a9d37 Update iPython interface usage example 2016-06-28 15:29:31 -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
194a512168 git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15087 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-05-31 16:45:20 +00:00
2a9581db80 Added expanded example to showcase new interface usage 2016-05-26 16:56:11 -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
03bde1b220 Added iPython example and tutorial 2016-05-24 12:35:37 -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
674da56554 make .gitignore python3 compatible 2016-05-20 14:54:36 -04:00
19b9fef0b1 Fix typo in lammps.py 2016-05-20 13:33:40 +02:00
c3a95c782b git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15039 f3b2605a-c512-4ea7-a41b-209d697bcdaa 2016-05-12 13:53:40 +00: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