10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-07 06:33:49 +01:00
QuantumPackage/src/perturbation/perturbation.irp.f

14 lines
298 B
Fortran
Raw Normal View History

2019-01-25 11:39:31 +01:00
BEGIN_SHELL [ /usr/bin/env python2 ]
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