#!/bin/sh # ADF is well suited for calculating Core Electron Binding Energies (CEBEs). In # this example it is shown how one can differentiate between the 1s CEBEs of the # two non-equivalent nitrogen atoms in N2 O, using a delta-SCF technique. It # starts with a regular calculation that has the purpose of preparing a # reference TAPE21 file for the NNO molecule, which will later be useful in the # energy analysis. The result file is saved to t21.NNO. # The same GGA functional is specified throughout the run. The amount of output # is reduced by using some print keys. # The prepare the nitrogen atom with a core hole (restricted) will be used as a # fragment later. This enables selection of where the core hole should be. # prepare the Nitrogen core hole restricted to be used as fragment $ADFBIN/adf -n1 <