diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-08-03 10:51:20 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-08-03 10:52:01 -0700 |
commit | 9e90ff1d77cf396920e001657084c6d6e9ef979e (patch) | |
tree | 02cf364bb73bd68ca132879312377783fe1b4641 /science/py-pymbd/files/example.py | |
parent | devel/muon: add missing dependency on scdoc (diff) |
science/py-pymbd: New port: Many-body dispersion library
Diffstat (limited to 'science/py-pymbd/files/example.py')
-rw-r--r-- | science/py-pymbd/files/example.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/science/py-pymbd/files/example.py b/science/py-pymbd/files/example.py new file mode 100644 index 000000000000..31037cd7f2ce --- /dev/null +++ b/science/py-pymbd/files/example.py @@ -0,0 +1,6 @@ +from pymbd import mbd_energy_species +from pymbd.fortran import MBDGeom + +energy = mbd_energy_species([(0, 0, 0), (0, 0, 7.5)], ['Ar', 'Ar'], [1, 1], 0.83) + +print("energy="+str(energy)) |