#! /bin/sh # This example shows how to use the NEGF key when including a bias potential # between the electrodes. It starts of with the usual tight-binding run, # followed by an SGF one. The alignment run is omitted. Finally, there is a loop # over bias potentials. Here the scale feature of the FuzzyPotential is used. # The current is appended to a text file, which one could plot eg. with gnuplot. # Note: Setting up a NEGF calculation is quite hard without the GUI. AMS_JOBNAME=tight-binding $ADFBIN/ams <> $REPORT fname=`ls Transmission_*.plt` echo "start of transmission (bias=$bias)" cat $fname echo "end of transmission" rm Transmission_*.plt rm -r negf.results done echo "Start of report" cat $REPORT echo "End of report"