## Details on the Hamiltonian and Overlap matrix setup

Due to the partitioning of the unit cell into different regions it is natural to express the Hamiltonian and Overlap matrices in terms of sums of contributions originating from each of these regions. Also the construction of the radial functions in the MT spheres on the basis of the spherical part of the effective potential leads to a seperataion of spherical and nonspherical contributions in the spheres. In consequence the Hamiltonian is expressed as

and the Overlap matrix as

In the following the basic setup of these matrices is sketched. Since this is mainly intended to introduce cutoff parameters and other quantities that are important for the usage of the FLAPW method some contributions to the matrices will be neglected. For example the contributions related to local orbitals are not discussed here. These additional basis functions would increase the matrix size. Also the vacuum contributions will be ignored.

### Interstitial contributions

For the construction of the interstitial contributions to the matrices one defines the step function

It is analytically constructed in reciprocal space as

up to the reciprocal cutoff parameter . is the spherical Bessel function for and is the unit cell volume. The step function is the indicator function for the interstitial region but due to the finite reciprocal cutoff parameter its real space representation obtained by a Fourier transformation is only approximately correct. Fortunately only the correctness in reciprocal space up to the cutoff parameter is needed and this is fulfilled.

With the definition of the step function the interstitial contributions to the matrices become

and

The reciprocal plane wave cutoff for the step function is also used for the function .

In the Fleur input file the reciprocal plane wave cutoff is set in `calculationSetup/cutoffs/@Gmax`

besides
and it is also the cutoff for the density and the potential in the interstitial region.
It has to be at least twice as large as and also at least as large as the reciprocal cutoff for the exchange-correlation
potential .

Note that the expression for the interstitial contributions to the Hamiltonian does not lead to a Hermitian matrix. Since this property is required the actual expression to calculate this contribution is altered to guarantee it. It becomes

### Spherical MT contributions

Since the radial functions are already constructed for the spherical potential in each MT sphere the respective contributions to the Hamiltonian matrix can easily be expressed as

Accordingly the MT contribution to the Overlap matrix becomes

Note that the expression for the Hamiltonian contributions again does not lead to a Hermitian matrix. Therefore it is altered to

The summation over the magnetic quantum numbers can actually be performed analytically. This makes the calculation of the spherical MT contributions efficient.

### Nonspherical contributions in the MT spheres

For the calculation of the contribution due to the nonspherical part of the potential in a MT sphere one first defines a local Hamiltonian in the basis of the radial functions and as

In this expression and can each stand for a or a and is the potential in the sphere. The Gaunt coefficients are defined as

The local Hamiltonian then has to be incorporated into the global Hamiltonian for the whole unit cell by applying the matching coefficients. One obtains

In these expressions the sums over and are actually limited by the reduced cutoff parameter . While in the calculation for the spherical contributions very high cutoff parameters were required to obtain reasonable kinetic energies and Overlap matrices, the sums involved for the nonspherical contributions are related to the potential only. In practice this implies that smaller cutoffs can be used here. Note that the reduction of the cutoffs reduces the computational demands significantly.

In the Fleur input file the cutoff parameters are set for each
atom species separately in `atomSpecies/species/atomicCutoffs/@lnonsphr`

.