deformation
Utility functions for dealing with deformations.
make_deformations_from_bulk ¶
make_deformations_from_bulk(
atoms: Atoms,
norm_strains: Sequence[float] = (
-0.01,
-0.005,
0.005,
0.01,
),
shear_strains: Sequence[float] = (
-0.06,
-0.03,
0.03,
0.0,
),
symmetry: bool = False,
) -> list[Atoms]
Function to generate deformed structures from a bulk atoms object.
Parameters:
-
atoms
(Atoms
) –bulk atoms
-
norm_strains
(Sequence[float]
, default:(-0.01, -0.005, 0.005, 0.01)
) –strain values to apply to each normal mode.
-
shear_strains
(Sequence[float]
, default:(-0.06, -0.03, 0.03, 0.0)
) –strain values to apply to each shear mode.
-
symmetry
(bool
, default:False
) –whether or not to use symmetry reduction
Returns: