-
- Downloads
Completed first version of fix python/integrate
This includes an example of how to implement fix NVE in Python. The library interface was extended to provide direct access to atom data using numpy arrays. No data copies are made and numpy operations directly manipulate memory of the native code. To keep this numpy dependency optional, all functions are wrapped into the lammps.numpy sub-object which is only loaded when accessed.
Showing
- examples/python/README.fix_python_integrate 15 additions, 0 deletionsexamples/python/README.fix_python_integrate
- examples/python/in.fix_python_integrate_melt 23 additions, 0 deletionsexamples/python/in.fix_python_integrate_melt
- examples/python/in.fix_python_integrate_melt_opt 23 additions, 0 deletionsexamples/python/in.fix_python_integrate_melt_opt
- examples/python/py_integrate.py 110 additions, 0 deletionsexamples/python/py_integrate.py
- src/PYTHON/fix_python_integrate.cpp 13 additions, 21 deletionssrc/PYTHON/fix_python_integrate.cpp
examples/python/README.fix_python_integrate
0 → 100644
examples/python/in.fix_python_integrate_melt
0 → 100644
examples/python/py_integrate.py
0 → 100644
Please register or sign in to comment