aqcat
AQCat25-compatible slab recipes
aqcat25_static_job ¶
aqcat25_static_job(
atoms: Atoms,
copy_files: CopyFiles | None = None,
additional_fields: dict[str, Any] | None = None,
**calc_kwargs: Any
) -> VaspSchema
Carry out a static calculation with AQCat25 slab settings.
By default, use the slab k-point sampling from the AQCat25 paper's
fairchem implementation: max(1, round(40 / L)) in each in-plane direction,
where L is the largest absolute Cartesian component of that cell vector
in angstroms, and one k-point along the third cell vector (vacuum).
Override this sampling with kpts or kspacing in calc_kwargs.
For spin-polarized systems, initial magnetic moments are chosen in this
order: explicit magmom list > elemental_magmoms overrides > AQCat25
Table 6 defaults. elemental_magmoms sets the same value for every atom of
a selected element; unlisted elements keep their AQCat25 defaults (zero
for elements absent from Table 6). magmom supplies one value per atom,
in input atom order, and replaces the entire list, even when
elemental_magmoms is also supplied. Values are in Bohr magnetons.
These recipe defaults override moments stored on the atoms or their
calculator. Pass magmom=None to remove the recipe's explicit list and
use quacc's normal handling of stored moments instead. A nonzero elemental
override for an element present in the structure also enables spin
polarization by default. Pass ispin=1 to disable spin polarization.
These are initial moments, not constraints on the final magnetization.
Parameters:
-
atoms(Atoms) –Atoms object
-
copy_files(CopyFiles | None, default:None) –Files to copy (and decompress) from source to the runtime directory.
-
additional_fields(dict[str, Any] | None, default:None) –Additional fields to add to the results dictionary.
-
**calc_kwargs(Any, default:{}) –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.
Examples:
>>> aqcat25_static_job(atoms)
>>> aqcat25_static_job(atoms, elemental_magmoms={"Fe": 3.0, "O": 0.5})
>>> aqcat25_static_job(atoms, magmom=[2.0, -2.0, 0.0])
>>> aqcat25_static_job(atoms, kpts=(4, 4, 1), ispin=1)
Source code in quacc/recipes/vasp/aqcat.py
20 21 22 23 24 25 26 27 28 29 30 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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |