Releases: prisms-center/CASMcode_configuration
Releases · prisms-center/CASMcode_configuration
v3.0a1
[3.0a1] - 2026-03-03
Added
- Added
libcasm.grouppackage for crystallography-independent group utilities, includingGenericGroup,Subset, and subgroup finding tools. - Added Frobenius-Schur indicator to
IrrepInfofor classifying real, complex, and quaternionic irrep types. - Added random commuter method for
IrrepDecomposition. - Added irrep decomposition by disjoint variable sets and random rotation retry for irrep decomposition.
- Added
class_indicesparameter toIrrepDecompositionfor character table construction. - Added options to select the amount of symmetrization applied after irrep decomposition.
- Added
alive-progressdependency for progress status bars. - Added multithreaded construction of group multiplication table, matrix representations, and
make_irrep_special_directions.
Changed
- Refactored
Groupto move element-type-independent parts intoGenericGroup; subgroups now useSubsetclass;IrrepDecompositionnow accepts subgroup orbits as a constructor argument. - Changed
IrrepDecompositionto find input column spaces that do not mix and decompose irreps within each subspace independently, so the decomposition respects the user's initial choice of axes. - Changed output axes sign convention to prefer vectors where the first element is positive.
- Changed
IrrepInfoindexanddirectionsattributes to be optional. - Updated
stylize.shto use.clang-formatfile instead of Google style.
Fixed
- Fixed constructing
full_trans_matfrom complex irreps. - Fixed normalization of real and imaginary parts of complex irrep
trans_matwhen building the full transformation matrix.
Removed
- Removed deprecated
supercellsandmotifarguments fromConfigEnumAllOccupations.by_supercelland mademaxa required argument. - Removed deprecated
to_jsonandfrom_jsonmethods fromlibcasm.configuration.Prim.
v2.3.1
v2.3.0
v2.2.0
v2.1.0
v2.0.0
v2.0a8
v2.0a7
v2.0a6
[2.0a6] - 2024-12-10
Added
- Added
libcasm.clusterography.make_custom_cluster_specs, which takes a custom site filter function to generate a ClusterSpecs with custom_generators generated with the custom site filter. This approach allows creating a ClusterSpecs that is customized, as with a custom site filter, but still works to save/load without to_dict/from_dict needing the custom filter. - Added
make_canonical_local_configuration,make_distinct_local_cluster_sites, andmake_distinct_local_perturbationstolibcasm.enumerate. - Added
local_symgroup_reptolibcasm.configuration.Supercell. - Added
distancesandphenomenal_distancestolibcasm.clusterography.Cluster - Added
libcasm.local_configurationfor local configuration enumeration and comparison. - Added
libcasm.enumerate.ConfigEnumLocalOccupationsfor local configuration enumeration. - Added
make_supercells_for_point_defects,find_optimal_point_defect_supercells,make_required_sites,plot_point_defect_supercell_scores, andprint_point_defect_supercell_infotolibcasm.enumerateto help find optimal supercells for calculations.
Changed
- Changed
libcasm.clusterography.make_cluster_groupdocumentation to state how the head group of the cluster group is set. - Changed
libcasm.occ_events.make_occevent_groupto set the head group of the occ_event group to the head group of the group used to generate the occ_event group. In typical use this means the head group of the occ_event group is the prim factor group rather than a subgroup, even if a subgroup was used to generate the occ_event group. - Changed the sorting order of
libcasm.occ_events.OccEventto sort by (cluster size, site distances, reverse molecule count), instead of by (cluster size, molecule count, site distances).
Fixed
- Fixed
libcasm.occ_events.OccEvent.copy_reverse, which was doingcopy_sortinstead.
v2.0a5
[2.0a5] - 2024-08-13
Fixed
- Fixed
libcasm.clusterography.equivalents_info_from_dict, which was trying to read clusters from the wrong position. This method was not used to read equivalents_info.json for KMC simulations. - Fixed
libcasm.occ_events.get_occevent_coordinate, which was using the reverse of the appropriate translation to get the unitcell_index. - Fixed
to_json(to_json(config::Configuration)andread_dof_valuesto properly support writing and reading DoF values in both the prim and standard basis.
Changed
- Changed the
by_supercellandby_supercell_listmethods oflibcasm.enumerate.ConfigEnumAllOccupationsto only do default continuous DoF. - Changed the
skip_non_canonicalparameter of theby_linear_site_indices,by_integral_site_coordinate,by_sublattice,by_cluster, andby_cluster_listmethods oflibcasm.enumerate.ConfigEnumAllOccupationstoskip_equivalents. - Changed
ConfigEnumAllOccupationsmethods that take abackgroundconfiguration to maintain the orientation of continuous DoF. - Changed
ClusterSpecs.from_dictto allow reading CASM v1 cluster specs JSON by checking for a "params" attribute and parsing that if it exists. - Changed
ClusterSpecs.from_dictto warn if the prim has local DoF but no"orbit_branch_specs"attribute is present. - Changed occ_events
to_jsonmethods forocc_events::OccPosition,occ_events::OccTrajectory, andocc_events::OccEventto optionally accept occ_events::OccSystem.
Added
- Added option to include phenomenal site to local-cluster site distances by passing the phenomenal cluster to
libcasm.clusterography.Cluster.to_dict. - Added
libcasm.configuration.Supercell.symgroup_rep. - Added copy methods for
libcasm.configuration.SupercellSymOp. - Added
Configuration.copy,ConfigurationWithProperties.copy,SupercellRecord.copy,ConfigurationRecord.copy,Cluster.copy, andOccEvent.copymethods. - Added
libcasm.configuration.copy_local_dof_valuesandlibcasm.configuration.copy_global_dof_values - Added
which_dofsparameter tolibcasm.configuration.make_invariant_subgroup - Added
libcasm.enumerate.SuperConfigEnum - Added
libcasm.ConfigEnumAllOccupations.by_supercell_with_continuous_dof - Added
__repr__forCluster,ClusterOrbitGenerator, andClusterSpecs. - Added
to_jsonmethods forconfig::ConfigSpaceAnalysisResultsandconfig::DoFSpaceAnalysisResults. - Added
Prim.__repr__,Supercell.__repr__,SupercellRecord.__repr__,Configuration.__repr__,ConfigurationRecord.__repr__,ConfigurationWithProperties.__repr__,DoFSpaceAnalysisResults.__repr__. - Added
ConfigSpaceAnalysisResults.to_dictandDoFSpaceAnalysisResults.to_dictmethods. - Added
OccSystem.__repr__,OccPosition.copy,OccPosition.__copy__,OccPosition.__deepcopy__,OccPosition.__repr__,OccEventRep.__repr__,OccEventRep.copy,OccEventRep.__copy__,OccEventRep.__deepcopy__,OccEvent.__repr__.