Releases: prisms-center/CASMcode_mapping
Releases · prisms-center/CASMcode_mapping
v2.4.0
v2.3.0
[2.3.0] - 2025-08-07
Added
- Added
CASM::mapping::DispOnlyAtomToSiteCostFunction, which has the same definition ofCASM::mapping::AtomToSiteCostFunctionprevious to this release. - Added
libcasm.mapping.mapsearch.make_atom_to_site_cost_future. This method makes the cost infinity for displacements that are on the boundary of the Voronio cell. This addresses an issue where the choice of displacement vector for atoms on the parent superlattice voronoi cell boundary was ambiguous and in practice sensitive to small numerical differences, leading to inconsistent mapping results. With the change, atom mappings with displacements on the Voronoi cell boundary will not be selected, and larger supercells will be necessary to find atom mappings with those assignments. - Added an
atom_to_site_cost_future_fargument for theMapSearchandAtomMappingSearchDataconstructors to allow use ofmake_atom_to_site_cost_futureinstead ofmake_atom_to_site_cost.
Changed
- Changed
CASM::mapping::AtomToSiteCostFunctionto take the Lattice used to find displacements under periodic boundary conditions.
Deprecated
- The
make_atom_to_site_cost_futureandmake_atom_to_site_costmethods are marked deprecated becausemake_atom_to_site_cost_futureis planned to replacemake_atom_to_site_costin libcasm-mapping 3.0.0. - The
atom_to_site_cost_fandatom_to_site_cost_future_farguments for theMapSearchandAtomMappingSearchDataconstructors are marked deprecated becauseatom_to_site_cost_future_fis planned to replaceatom_to_site_cost_fin libcasm-mapping 3.0.0.
v2.2.0
v2.1.0
v2.0.1
v2.0.0
[2.0.0] - 2025-05-02
Fixed
- Fixed a bug in
make_mapped_structurewhich was always returning zero for atom properties
Changed
- Build for Python 3.13
- Restrict requires-python to ">=3.9,<3.14"
- Run CI tests using Python 3.13
- Build MacOS arm64 wheels using MacOS 15
- Build Linux wheels using Ubuntu 24.04
v2.0a6
v2.0a5
[v2.0a5] - 2024-08-18
Added
- Added
isotropic_strain_costandsymmetry_breaking_strain_costtolibcasm.mapping.info. - Added
map_lattices_without_reorientationtolibcasm.mapping.methods.
Fixed
- Fixed the displacement cost descriptions in
libcasm.mapping.methods.map_atoms.
v2.0a4
[v2.0a4] - 2024-07-12
Added
- Added
costmethods to IsotropicAtomCost, SymmetryBreakingAtomCost, and WeightedTotalCost equivalent to the call operators to improve documentation.
Changed
- Changed default
atom_cost_ffor libcasm.mapping.mapsearch.MappingSearch to IsotropicAtomCost. - Changed MappingSearch node insertion so that nodes are only added to the queue if the total cost is less than or equal to the current max_cost instead of always.
- Wheels compiled with numpy>=2.0.0
Fixed
- Documentation errors
- Renamed QueueConstraints constructor parameter which was misnamed
min_queue_sizeto the correct namemax_queue_size - Fixed MappingSearch node insertion so that solutions are only added to the results if the total cost is less than or equal to the current max_cost even if the current number of results is less than k_best.