10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-14 01:53:55 +01:00
quantum_package/plugins/Perturbation/perturbation.irp.f

14 lines
297 B
Fortran
Raw Normal View History

2014-05-17 14:20:55 +02:00
BEGIN_SHELL [ /usr/bin/env python ]
from perturbation import perturbations
import os
2015-06-08 14:49:10 +02:00
filename = os.environ["QP_ROOT"]+"/src/Perturbation/perturbation.template.f"
2014-05-17 14:20:55 +02:00
file = open(filename,'r')
template = file.read()
file.close()
for p in perturbations:
print template.replace("$PERT",p)
END_SHELL