2019-02-07 22:49:12 +01:00
|
|
|
#! /bin/bash
|
|
|
|
|
2019-04-02 22:58:24 +02:00
|
|
|
if [ $# -ne 2 ]
|
2019-02-07 22:49:12 +01:00
|
|
|
then
|
2019-04-02 22:58:24 +02:00
|
|
|
echo "You need two arguments [Number of electrons] [BasisSetSize] !!"
|
2019-02-07 22:49:12 +01:00
|
|
|
fi
|
|
|
|
|
2019-04-02 22:58:24 +02:00
|
|
|
if [ $# = 2 ]
|
2019-02-07 22:49:12 +01:00
|
|
|
then
|
2019-04-02 22:58:24 +02:00
|
|
|
cp examples/molecule.Sph_"$1" input/molecule
|
|
|
|
cp examples/basis.Sph.Ylm"$2" input/basis
|
2019-05-07 22:55:36 +02:00
|
|
|
cp ~/Integrals/QuAcK_Sph/Sph_ERI_"$2".dat ~/Integrals/QuAcK_Sph/ERI.dat
|
|
|
|
cp ~/Integrals/QuAcK_Sph/Sph_Kin_"$2".dat ~/Integrals/QuAcK_Sph/Kin.dat
|
|
|
|
cp ~/Integrals/QuAcK_Sph/Sph_Nuc_"$2".dat ~/Integrals/QuAcK_Sph/Nuc.dat
|
|
|
|
cp ~/Integrals/QuAcK_Sph/Sph_Ov_"$2".dat ~/Integrals/QuAcK_Sph/Ov.dat
|
|
|
|
./bin/QuAcK | tee sph.out
|
|
|
|
./extract_sph.sh sph.out
|
2019-02-07 22:49:12 +01:00
|
|
|
fi
|