#! /bin/sh # Calculation of the excitation energies of Bimane using the simplified Tamm- # Dancoff (sTDA) method by Grimme, for a range-separated function. This method # is meant for hybrid functionals or range-separated functionals during the SCF. # In this example the range-separated functional wB97X is used during the SCF. # In the the calculation of the excitation energies the sTDA method is used # in which the required integrals are approximated. For range-separated # functional one needs to set the parameters manually. Note that the alpha and # beta parameters for sTDA for range separated functionals in the Risthaus paper # (dx.doi.org/10.1039/C3CP54517B) are mixed up. A TZP or TZ2P basis set is # recommended for this method. # First the atoms are calculated. To calculate this range-separated functional # wB97X the RIHARTREEFOCK method is required, and LibXC is needed. For speed # reasons the atoms are calculated separately, such that these calculations # might run in parallel. If the BASIS key is used the atoms are calculated # serially. for n in H C N O do $ADFBIN/adf <