Ethene's ELF with CASTEP
Note that c2x 2.35 or later is required for this example.
Input Files
The .param file not only requests an ELF calculation,
but sets the FFT grid scale to 2.0. These seems to be necessary to
produce a result free from artifacts.
Castep can then be run as
$ castep ethene
and an xsf file generated with
$ c2x ethene.elf ethene.xsf
Note that the .elf file does not contain atomic
positions, so c2x will also read a .cell file from the
same directory.
Note too that c2x can also read the formatted .elf_fmt
files if required. Such files are generated if one adds
WRITE_FORMATTED_ELF : T
to the .param file, else only the smaller, but higher
precision, binary .elf file is produced.

The above figure uses an isovalue of 0.8, and a degree of two in its tricubic spline. It is a little lumpy, especially around the hydrogens. If one sets
BASIS_PRECISION : precise
in the .param file, it is significantly smoother, as
can be seen below. Replacing "precise" by "extreme" would give an
even smoother result.

For a discussion of the ELF's shape, see chapter 5 section 3.1 of Theoretical and Computational Chemistry, vol 19.
Back to ELF overview.