Requests for technical support from the VASP group should be posted in the VASP-forum.

# LOPTICS

LOPTICS = .TRUE. | .FALSE.

Default: **LOPTICS** = .FALSE.

Description: LOPTICS=.TRUE. calculates the frequency dependent dielectric matrix after the electronic ground state has been determined.

The imaginary part is determined by a summation over empty states using the equation:

here the indices *c* and *v* refer to conduction and valence band states respectively, and *u*_{ck} is the cell periodic part of the orbitals at the k-point **k**. The real part of the dielectric tensor ε^{(1)} is obtained by the usual Kramers-Kronig
transformation

where *P* denotes the principle value. The method is explained in detail in the paper by Gajdoš *et al.* (see Eqs. 15, 29, and 30).^{[1]} The complex shift η is determined by the parameter CSHIFT.

Note that local field effects, i.e. changes of the cell periodic part of the potential are neglected in this approximation. These can be evaluated using either the implemented density functional perturbation theory (LEPSILON=.TRUE.}}), or the GW routines.
The method selected using LOPTICS=.TRUE. requires an appreciable number of empty conduction band states. Reasonable results are usually only obtained, if the parameter NBANDS is roughly doubled or tripled in the INCAR file with respect to the VASP default.
Furthermore it is emphasized that the routine works properly even for HF and screened exchange type calculations and hybrid functionals. In this case, finite differences are used to determine the derivatives of the Hamiltonian with respect to **k**.

Note that the number of frequency grid points is determined by the parameter NEDOS. In many cases it is desirable to increase this parameter significantly from its default value. Values around NEDOS=2000 are strongly recommended.