Page 1 of 1

input variables

Posted: Fri Jun 21, 2019 12:19 pm
by saikrishna
Hi all
I am new to ABINIT and am learning it. I have a doubt in the usage of variables ngkpt, nkpt and thier consequences and I am asking this in the context of base 3_4 tutorial.

Thanks in advance,
Sai krishna

Re: input variables

Posted: Fri Jun 28, 2019 6:59 pm
by ebousquet
Dear Sai krishna,
nkpt is the total number of k-points and ngkpt is used in the calculation while to set the number of k-point in each direction ngkpt is used. Usually ngkpt is used in the input and nkpt is automatically calculated depending on the symmetries of the system and it is better to let the code calculating it.
Best wishes,
Eric

Re: input variables

Posted: Thu Jul 04, 2019 12:23 pm
by saikrishna
Hi Eric
Thank you for the answer but I have doubt in how is k points generated from the ngkpt and how is nkpt calculated?

Thanks in advance
Sai krishna.

Re: input variables

Posted: Fri Jul 12, 2019 4:30 pm
by ebousquet
Dear Sai krishna,
nkpt is calculated by taking into account the symmetry of the crystal (if with kptopt=1) such that nkpt will be the number of inequivalent k-points to reduce the size of the calculation.
Best wishes,
Eric

Re: input variables

Posted: Fri Aug 16, 2019 11:57 am
by saikrishna
Hey Eric
I have understood your answer and can you tell the role of shiftk?
Thanks in advance
Sai krishna

Re: input variables

Posted: Mon Oct 21, 2019 3:08 pm
by NPike
Hello,

The variable shiftk is used to shift the k-point grid by a fixed amount after Abinit determines the list of irreducible k-points. For most calculations, one can safely set shiftk = 0 0 0 and nshiftk = 0.

See https://docs.abinit.org/variables/basic/#shiftk for additional information and some examples.

-Nick

Re: input variables

Posted: Sat Nov 30, 2019 3:21 pm
by Olivier.5590
Yeah, sometimes you want to calculate based on a grid point that isn't zeroed, and like that, you don't have to try to calculate stuff approximatively when compensating for another starting point.