elastic
Common elastic constants workflows.
elastic_tensor_flow ¶
elastic_tensor_flow(
atoms: Atoms,
relax_job: Job,
static_job: Job,
pre_relax: bool = True,
run_static: bool = False,
deform_kwargs: dict[str, Any] | None = None,
) -> ElasticSchema
Common workflow for calculating elastic tensors.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
relax_job
(Job
) –The relaxation function.
-
static_job
(Job
) –The static function
-
pre_relax
(bool
, default:True
) –Whether to run a relaxation on the bulk structure before deformation (true) or run a static calculation (false)
-
run_static
(bool
, default:False
) –Whether to run static calculations after any relaxations on the undeformed or deformed structures
-
deform_kwargs
(dict[str, Any] | None
, default:None
) –Additional keyword arguments to pass to quacc.atoms.deformation.make_deformations_from_bulk
Returns:
-
ElasticSchema
–See the return type-hint for the data structure.