10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-26 04:37:36 +02:00
quantum_package/src/Perturbation/perturbation.irp.f
2015-05-28 12:03:14 +02:00

14 lines
303 B
Fortran

BEGIN_SHELL [ /usr/bin/env python ]
from perturbation import perturbations
import os
filename = os.environ["QPACKAGE_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