abinit/abipy

" abinp.py phonons " and ngkpt

lcodacal opened this issue · 2 comments

Hi,
I would like to test the phonon band structure convergence with ngkpt.
I would like to know if there is a way to choose the grid. It looks like that abinp.py does not take into account the ngkpt value from the input file.
Thank you for the code. It is really amazing !
All the best,
Luis

In 300166d, I've added 3 new options
to specify the smearing, the occupation scheme and the k-point sampling in terms
of kppa i.e. the number of k-points per reciprocal atoms.

The script is just wrapping the factory functions we use to generate input files
for high-throughput applications and these functions work with kppa instead of ngkpt.

For a more flexible API that allows you to build explicitly the input file, see
this notebook