Skip to content

Commit

Permalink
K-points: set FULL_GRID to false (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha authored Mar 20, 2021
1 parent 61d4927 commit 05d8199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_cp2k/calculations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def prepare_for_submission(self, folder):
except AttributeError:
raise InputValidationError("K-point sampling for SCF must be given in mesh form.")

inp.add_keyword('FORCE_EVAL/DFT/KPOINTS', {'WAVEFUNCTIONS': ' COMPLEX', 'FULL_GRID': '.TRUE.'})
inp.add_keyword('FORCE_EVAL/DFT/KPOINTS', {'WAVEFUNCTIONS': ' COMPLEX', 'FULL_GRID': '.FALSE.'})
inp.add_keyword('FORCE_EVAL/DFT/KPOINTS/SCHEME MONKHORST-PACK', f'{mesh[0]} {mesh[1]} {mesh[2]}')

with io.open(folder.get_abs_path(self._DEFAULT_INPUT_FILE), mode="w", encoding="utf-8") as fobj:
Expand Down

0 comments on commit 05d8199

Please sign in to comment.