10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-05 13:43:57 +01:00
quantum_package/plugins/Perturbation/perturbation.irp.f
Thomas Applencourt 6a91e63cf3 Move into plugins
2015-06-17 18:23:56 +02:00

14 lines
297 B
Fortran

BEGIN_SHELL [ /usr/bin/env python ]
from perturbation import perturbations
import os
filename = os.environ["QP_ROOT"]+"/src/Perturbation/perturbation.template.f"
file = open(filename,'r')
template = file.read()
file.close()
for p in perturbations:
print template.replace("$PERT",p)
END_SHELL