pwtools.pwscf.kpointstr_pwin2

pwtools.pwscf.kpointstr_pwin2(lst, shift=[0, 0, 0], gamma=True)

Full k-points string for pw.x input files, card K_POINTS.

Parameters:
  • lst (sequence (3,))

  • shift (sequence (3,), optional)

  • gamma (bool, optional) – If lst == [1,1,1] then return “K_POINTS gamma”, else “K_POINTS automatic <newline> 1 1 1 <shift>”.