get_supercell_size¶
- atomate2.common.jobs.pheasy.get_supercell_size(structure, min_length, max_atoms, force_90_degrees, force_diagonal, **kwargs)[source]¶
Determine the supercell matrix with pymatgen’s CubicSupercellTransformation.
- Parameters:
structure (Structure Object) – Input structure that will be used to determine supercell
min_length (float) – minimum length of cell in Angstrom
max_atoms (int) – maximum number of atoms in the supercell
force_90_degrees (bool) – if True, only supercells with three 90 degree angles are allowed
force_diagonal (bool) – if True, only diagonal supercell matrices are allowed
**kwargs – Additional parameters passed to CubicSupercellTransformation. They override the defaults angle_tolerance=1e-2 and allow_orthorhombic=False.
- Return type: