get_supercell_size

atomate2.common.jobs.phonons.get_supercell_size(structure, min_length, max_length, prefer_90_degrees, allow_orthorhombic=False, **kwargs)[source]

Determine supercell size with given min_length and max_length.

Parameters:
  • structure (Structure Object) – Input structure that will be used to determine supercell

  • min_length (float) – minimum length of cell in Angstrom

  • max_length (float) – maximum length of cell in Angstrom

  • prefer_90_degrees (bool) – if True, the algorithm will try to find a cell with 90 degree angles first

  • allow_orthorhombic (bool) – if True, orthorhombic supercells are allowed

  • **kwargs – Additional parameters that can be set.

Return type:

list[list[float]]