mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
Committer: ckloss <ckloss@fluid38.(none)>
On branch master Initial commit for lpp, version 2011-10-11
This commit is contained in:
11
examples/test_pair.py
Normal file
11
examples/test_pair.py
Normal file
@ -0,0 +1,11 @@
|
||||
# simple test of pair tool
|
||||
# requires files/data.rhodo
|
||||
|
||||
p = pair("lj/charmm/coul/charmm")
|
||||
d = data("files/data.rhodo")
|
||||
p.coeff(d)
|
||||
p.init(8.0,10.0)
|
||||
ev,ec = p.single(5.0,1,2,0.5,-0.5)
|
||||
print "Energies",ev,ec
|
||||
|
||||
print "all done ... type CTRL-D to exit Pizza.py"
|
||||
Reference in New Issue
Block a user