Skip to content

v2.0a9

Compare
Choose a tag to compare
@bpuchala bpuchala released this 13 Mar 22:58
· 25 commits to main since this release
503a1c8

[2.0a9] - 2024-03-13

Fixed

  • Fix CASM::xtal::make_primitive, which was not copying unique_names. This also fixes the output of libcasm.xtal.make_primitive which was losing the occ_dof list as a result.
  • Fix JSON output of xtal::BasicStructure site label
  • Changed pseudoinverse calculation for basis changes to completeOrthogonalDecomposition().pseudoInverse()

Changed

  • Changed make_primitive to act on either Prim or Structure.
  • Changed default of xtal.Structure.to_dict to output in fractional coordinates
  • Added excluded_species and frac parameters to xtal.Structure.to_dict

Added

  • Add to libcasm.xtal: make_primitive_prim (equivalent to current make_primitive), make_primitive_structure, and make_canonical_structure.
  • Add options to the BCC and FCC structure factory functions in libcasm.xtal.structures to make the conventional cubic unit cells.
  • Add to libcasm.xtal: StructureAtomInfo namedtuple, and methods sort_structure_by_atom_info, sort_structure_by_atom_type, sort_structure_by_atom_coordinate_frac, and sort_structure_by_atom_coordinate_cart
  • Add to libcasm.xtal: substitute_structure_species
  • Add to libcasm.xtal.Prim: method labels, constructor parameter labels
  • Add to libcasm.xtal.Lattice: methods reciprocal, volume, lengths_and_angles, from_lengths_and_angles
  • Added unit_cell, diagonal_only, and fixed_shape parameters to libcasm.xtal.enumerate_superlattices.
  • Add to libcasm.xtal: combine_structures, filter_structure_by_atom_info, make_structure_atom_info, and make_structure_from_atom_info