Matpes
MatPES-compatible recipes
Important
Make sure that you use the MatPES-compatible pseudpotential versions (i.e. v.64)
matpes_static_job ¶
matpes_static_job(
atoms: Atoms,
*,
level: Literal["PBE", "r2SCAN", "HSE06"],
kspacing: float | None = 0.22,
use_improvements: bool = False,
write_extra_files: bool = False,
auto_ispin: bool = False,
prev_dir: SourceDirectory | None = None,
**calc_kwargs
) -> VaspSchema
Function to run a MatPES-compatible static calculation.
Parameters:
-
atoms(Atoms) –Atoms object
-
level(Literal['PBE', 'r2SCAN', 'HSE06']) –The level of theory: "PBE", "r2SCAN", "HSE06"
-
kspacing(float | None, default:0.22) –The KSPACING parameter to use. Default: 0.22 as in the MatPES paper. This is likely too expensive in many cases.
-
use_improvements(bool, default:False) –Whether to make the following improvements to the VASP settings: ALGO = All, EFERMI = MIDGAP, GGA_COMPAT = False, ISEARCH = 1, and ENAUG deleted.
-
write_extra_files(bool, default:False) –Whether to write out the following IO files: LELF = True and NEDOS = 3001.
-
auto_ispin(bool, default:False) –If generating input set from a previous calculation, this controls whether to disable magnetisation (ISPIN = 1) if the absolute value of all magnetic moments are less than 0.02.
-
prev_dir(SourceDirectory | None, default:None) –A previous directory for a prior step in the workflow.
-
**calc_kwargs–Custom kwargs for the Vasp calculator. Set a value to
Noneto remove a pre-existing key entirely. For a list of available keys, refer to quacc.calculators.vasp.vasp.Vasp. All of the ASE Vasp calculator keyword arguments are supported.
Returns:
-
VaspSchema–Dictionary of results from quacc.schemas.vasp.VaspSummarize.run. See the type-hint for the data structure.
Source code in quacc/recipes/vasp/matpes.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |