The main program FEFF reads only one file created directly by the user, the file 'feff.inp' and executes the various program modules described below. An auxiliary program (ATOMS), developed by Bruce Ravel, is provided which can generate the 'feff.inp' file from crystallographic input parameters. Information about ATOMS can be found on the WWW at
This section describes 'feff.inp' and the commands that tell FEFF what to do. It may be helpful to look at one or more of the sample input files in Section 4 while reading this section. The input file for FEFF8 is similar to FEFF version 5 through 7, except that several additional options have been added to permit self-consistent potential generation, full multiple scattering XANES calculations, polarization dependence, and others listed in Section 2.1.
The input file 'feff.inp' is a loosely formated, line oriented text file. Each type of input read by the program is on a line which starts with a card or keyword in CAPITAL LETTERS and, in some cases, is followed by alpha-numeric data. All card arguments listed below inside square brackets are optional. The sequence of keyword cards is arbitrary. If any card or optional data is omitted, default values are used; an exception is the POTENTIALS card, which is always required. Alpha-numeric values are listed in free format, separated by blanks. Tab characters are not allowed (due to Fortran 77 portability constraints) and may cause confusing error messages. Any characters appearing after the card and any required or optional data on a given line are ignored by FEFF and can be used as end-of-line comments. All distances are in Ångstroms and energies in eV. Spaces between lines (empty lines) are ignored. Any line beginning with an asterisk (*) is regarded as a comment and is also ignored.
After reading the 'feff.inp' file, the calculations are done sequentially in six steps:
This section describes how to control each module them using the 'feff.inp' file.