Releases: prisms-center/CASMcode_configuration
Releases · prisms-center/CASMcode_configuration
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__.
v2.0a4
[2.0a4] - 2024-07-16
Added
- Added libcasm.sym_info.make_lattice_point_group
- Added libcasm.configuration.Prim.lattice_point_group
- Added libcasm.configuration.io.tools to get properties from CASM objects
- Added libcasm.configuration.io.spglib to interface with spglib
- Added libcasm.io.symgroup_to_dict_with_group_classification to add group classification from spglib to SymGroup.to_dict data.
- Added libcasm.clusterography.make_local_cluster_group
Changed
- Changed libcasm.clusterography.make_cluster_group, CASM::clust::make_cluster_group, and CASM::clust::make_cluster_groups so that the head group of the cluster group is set to the head group of the group used to generate the cluster group. In typical use this means the head group of the cluster group is the prim factor group rather than a subgroup, even if a subgroup was used to generate the cluster group.
- Fixed spelling of reservoir (#16)
- Wheels compiled with numpy>=2.0.0
Fixed
- Fixed occ_symgroup_rep and atom_position_symgroup_rep in CASM::config::PrimSymInfo and libcasm.configuration.Prim, which were giving the inverse of the documented permutation.
v2.0a3
[v2.0a3] - 2024-03-15
Fixed
- Fixed CASM::config::make_distinct_cluster_sites
- Fixed CASM::config::dof_space_analysis for global DoF with non-primitive unit cell configuration
- Fixed bug in
Configuration.from_structurethat caused error in resulting occupation
Changed
- Changed libcasm.configuration.Prim.is_atomic, which was returning has_anisotropic_occupants
- Changed libcasm.configuration.is_canonical_configuration arguments for providing a subgroup
- Changed most methods with no arguments that return a value without doing additional work to readonly attributes
Added
- Added prototype and include_subclusters attributes to libcasm.clusterography.IntegralClusterOrbitGenerator
- Added ConfigEnumAllOccupations, ConfigEnumInfo, ConfigEnumMeshGrid, ScelEnum, make_all_distinct_periodic_perturbations, and make_distinct_cluster_sites to libcasm.enumerate
- Added make_all_super_configurations_by_subsets and make_distinct_super_configurations to libcasm.configuration
- Added
excluded_speciesoption toConfiguration.to_structureandConfigurationWithProperties.to_structure - Added
with_prim_basisoption toConfiguration.to_dictandConfigurationSet.to_dictto allow output of DoF values in the prim basis, along with "basis" tag which is respected on reading from JSON/dict. - Added set_order_parameters, make_dof_space, order_parameters, order_parameters_contribution, dof_values_vector, and dof_values_vector_contribution methods to libcasm.configuration.Configuration
- Added CASM::config::cluster_from_index_vector and CASM::config::cluster_from_index_set
- Added
libcasm.irreps.IrrepDecompositionandlibcasm.irreps.MatrixRepGroupfor generic irreducible space decompositions
Removed
- Removed
to_canonical_supercellandfrom_canonical_supercellwhich can be too easily misinterpreted.
v2.0a2
[v2.0a2] - 2023-12-11
Fixed
- Fix bug in irrep decomposition
- Fix comparison of Configuration with equivalent but distinct supercell
Added
- Added more irrep decomposition, DoF space analysis, and config space analysis tests
- Added options to config_space_analysis and dof_space_analysis methods to specify default occupation mode on a site or sublattice basis
- Added CASM::config::make_dof_space_rep and libcasm.configuration.make_dof_space_rep
- Added libcasm.configuration.ConfigurationWithProperties, and methods for libcasm.configuration.SupercellSymOp to act on ConfigurationWithProperties
- Added site_index_converter and unitcell_index_converter accessors to libcasm.Supercell.
- Added to_structure and from_structure to libcasm.configuration.Configuration and libcasm.configuration.ConfigurationWithProperties for conversions between atomic structures and configuration
- Added more access to matrix reps from PrimSymInfo in libcasm.configuration.Prim
- Added to_index_list, to_index_set, sort, sorted, is_sorted, rmul to libcasm.clusterography.Cluster
- Added make_periodic_equivalence_map, make_periodic_equivalence_map_indices, make_local_equivalence_map, and make_local_equivalence_map_indices to libcasm.clusterography
- Added to_dict and from_dict methods to libcasm.configuration.Prim
Changed
- Changed libcasm.clusterography.make_prim_periodic_orbits to make_periodic_orbits
Deprecated
- Deprecated to_json and from_json methods of libcasm.configuration.Prim