Thank you but I have searched through this forum and that I got this answer to some post
"In X and Y, you can basically have two situations: the structure can be finite (like a nanotube, or a ribbon). Since the model is anyway periodic, you add some vacuum so the periodic copies don't interact. In this case, 1x1x100 would be the appropriate k-point sampling.
If you have periodicity in X and Y, like if the electrodes are formed by a cleaved crystal surface. Then you need NAxNBx100 k-points, and how many NB and NB depends on the length of the period - the shorter the period length, the more k-points. So 1 might be still ok if the period is really long, which usually means you make several repetition of the system.
You can also have a mixture in X and Y, like finite in X and periodic in Y. This would be the same of a graphene sheet in the YZ plane. Then 1xNBx100 would be an appropriate sampling, with the same rules applying for NB as just above.
So in short: for a graphene sheet - 1x9x100 (or 12, or 15, etc). For a ribbon, 1x1x100."
Does that mean if I have periodicity and infinity in some direction I need to use multiple k-points in that direction and if it is finite in some direction I can just use 1 k-point in that direction?
And do I need to use neumann boundary conditions in the finite direction? Thank you