lammps/examples/python
Axel Kohlmeyer 46bf4b7efb update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
..
README.fix_python_move Clean up after renaming back to fix python/move 2017-12-15 13:27:27 -05:00
README.pair_python add readme file to discuss various python pair style usage examples 2017-05-18 00:31:54 -04:00
data.spce adding Pair::single() support to python pair style and examples 2017-05-17 17:20:56 -04:00
funcs.py make python functions examples more complete by adding exception handling and initializing variables 2018-01-06 12:56:42 -05:00
in.fix_python_invoke Rename fix python to fix python/invoke 2017-12-15 13:53:04 -05:00
in.fix_python_move_nve_melt Clean up after renaming back to fix python/move 2017-12-15 13:27:27 -05:00
in.fix_python_move_nve_melt_opt Clean up after renaming back to fix python/move 2017-12-15 13:27:27 -05:00
in.pair_python_coulomb change coulomb example to use cutoff coulomb 2017-05-18 00:30:19 -04:00
in.pair_python_hybrid make hybrid example use half the atoms with python, half with lj/cut 2017-05-18 00:30:41 -04:00
in.pair_python_long new long-rance example with using hybrid/overlay and table only for lj part 2017-05-18 00:31:15 -04:00
in.pair_python_melt a bunch refactoring changes in the python pair style and the examples 2017-05-17 20:55:48 -04:00
in.pair_python_spce a bunch refactoring changes in the python pair style and the examples 2017-05-17 20:55:48 -04:00
in.pair_python_table a bunch refactoring changes in the python pair style and the examples 2017-05-17 20:55:48 -04:00
in.python make python functions examples more complete by adding exception handling and initializing variables 2018-01-06 12:56:42 -05:00
log.27Nov18.fix_python_invoke.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.fix_python_invoke.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.fix_python_move_nve_melt.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.fix_python_move_nve_melt.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.fix_python_move_nve_melt_opt.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.fix_python_move_nve_melt_opt.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_coulomb.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_coulomb.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_hybrid.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_hybrid.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_long.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_long.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_melt.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_melt.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_spce.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_spce.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_table.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.pair_python_table.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.python.g++.1 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
log.27Nov18.python.g++.4 update log files for peptide, peri, pour and python examples 2018-11-29 14:51:25 -05:00
py_nve.py Rename fix python/integrate to python/move 2017-12-02 01:04:46 -05:00
py_pot.py a bunch refactoring changes in the python pair style and the examples 2017-05-17 20:55:48 -04:00

README.pair_python

This folder contains several LAMMPS input scripts and a python module
file py_pot.py to demonstrate the use of the pair style python.

in.pair_python_melt:
This is a version of the melt example using the python pair style.  The first
part of the output should have identical energies, temperature and pressure
than the melt example.  The following two sections then demonstrate how to
restart with pair style python from a restart file and a data file.

in.pair_python_hybrid:
This versions shows how to mix regular pair styles with a python pair style.
However, in this case both potentials are the same, so the energies and
pressure in the output should be identical to that of the previous example.

in.pair_python_spce:
This input shows a simulation of small bulk water system with the SPC/E
water potential. Since the python pair style does not support computing
coulomb contributions, pair style hybrid/overload is used to combine
the python style containing the Lennard-Jones part with the long-range coulomb.
Same as for the previous example, it also showcases restarting.

in.pair_python_table:
This input demonstrates the use of using the python pair style to build
a table file for use with pair style table. This will run much faster
than the python pair style. This example tabulates the melt example from
above. Note that tabulation is approximative, so the output will only
agree with the melt result to some degree. 

in.pair_python_coulomb:
This is another tabulation example, this time for the SPC/E water example
with cutoff coulomb interactions.
Please note, that tabulating long-range coulomb has a systematic error in
forces and energies for all systems with bonds, angle and dihedrals.
In this case, this will only affect the energies, since the water molecules
are held rigid with fix shake. To enable long-range coulomb the coul/cut
style needs to be replaced with coul/long, a suitable kspace style added
and the pppm keyword added to the table pair style definition.

in.pair_python_long:
The final example shows how to combine long-range coulomb with tabulation
for only the short range interactions via pair style hybrid/overlay.