defects
Common defect workflows.
has_deps
module-attribute
¶
has_deps = (
find_spec("shakenbreak") is not None
and find_spec("pymatgen.analysis.defects") is not None
)
bulk_to_defects_subflow ¶
bulk_to_defects_subflow(
atoms: Atoms,
relax_job: Job,
static_job: Job | None = None,
make_defects_kwargs: dict[str, Any] | None = None,
) -> list[dict]
Workflow consisting of:
-
Defect generation
-
Defect relaxations
-
Defect statics (optional)
Parameters:
-
atoms
(Atoms
) –Atoms object for the structure.
-
relax_job
(Job
) –The relaxation function.
-
static_job
(Job | None
, default:None
) –The static function.
-
make_defects_kwargs
(dict[str, Any] | None
, default:None
) –Keyword arguments for quacc.atoms.defects.make_defects_from_bulk
Returns: