#! /bin/sh # Two illustrations of applying the very useful BASIS keyword and of application # of an Electric Field. # For N2, three calculations are provided: 1) a normal N2 run as a reference # with the BASIS keyword, 2) with a homogeneous electric field, 3) with a point # charge. # In this example, no Create run is needed in the input file, because the first # molecular calculation uses the BASIS keyword. If the $ADFBIN/adf script finds # this keyword, it will first generate a new input file which will then be # executed. The new input file will contain the required Create run for the N # atom in this case. The proper xc functional and relativistic options will # automatically be selected by the BASIS keyword. This includes Dirac # calculations in case of relativistic runs. The output files is identical to # what would have appeared if one would provide the Create runs explicitly in # the input file. It also copies the atomic input, so that everything can be # checked. $ADFBIN/adf -n1 <