m_fstab/fstab_init [ Functions ]

ebands<ebands_t>=The object describing the band structure.
cryst<crystal_t>=Info on the crystalline structure.
fsewin=Energy window in Hartree. Only states in [efermi-fsewin, efermi+fsewin] are included.
integ_method=Flag selecting the integration method.
kptrlatt(3,3)=k-point lattice specification
nshiftk= number of shift vectors.
shiftk(3,nshiftk)=shift vectors for k point generation
comm=MPI communicator.

OUTPUT

fstab(nsppol)=Tables with the correspondence between points of the Fermi surface (FS)
and the k-points in ebands_t.

TODO

Use a different algorithm to select k-points if tetra. First compute tetra weights
then k-points contributing to FS integral are selected according to some threshold.