defects
Defect recipes for EMT.
bulk_to_defects_flow ¶
bulk_to_defects_flow(
atoms: Atoms,
defect_gen: (
AntiSiteGenerator
| ChargeInterstitialGenerator
| InterstitialGenerator
| SubstitutionGenerator
| VacancyGenerator
| VoronoiInterstitialGenerator
) = VacancyGenerator,
defect_charge: int = 0,
run_static: bool = True,
make_defects_kwargs: dict[str, Any] | None = None,
job_params: dict[str, dict[str, Any]] | None = None,
job_decorators: (
dict[str, Callable | None] | None
) = None,
) -> list[RunSchema | OptSchema]
Workflow consisting of:
-
Defect generation
-
Defect relaxations
- name: "relax_job"
- job: quacc.recipes.emt.core.relax_job
-
Optional defect statics
- name: "static_job"
- job: quacc.recipes.emt.core.static_job
Parameters:
-
atoms
(Atoms
) –Atoms object for the structure.
-
defect_gen
(AntiSiteGenerator | ChargeInterstitialGenerator | InterstitialGenerator | SubstitutionGenerator | VacancyGenerator | VoronoiInterstitialGenerator
, default:VacancyGenerator
) –Defect generator
-
defect_charge
(int
, default:0
) –Charge state of the defect
-
run_static
(bool
, default:True
) –Whether to run static calculations.
-
make_defects_kwargs
(dict[str, Any] | None
, default:None
) –Keyword arguments to pass to quacc.atoms.defects.make_defects_from_bulk
-
job_params
(dict[str, dict[str, Any]] | None
, default:None
) –Custom parameters to pass to each Job in the Flow. This is a dictinoary where the keys are the names of the jobs and the values are dictionaries of parameters.
-
job_decorators
(dict[str, Callable | None] | None
, default:None
) –Custom decorators to apply to each Job in the Flow. This is a dictionary where the keys are the names of the jobs and the values are decorators.
Returns:
-
list[RunSchema | OptSchema]
–List of dictionary of results from quacc.schemas.ase.summarize_run or quacc.schemas.ase.summarize_opt_run. See the return type-hint for the data structure.