You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
20
20
### Changed
21
21
22
-
-**Breaking change**: Custom `atom_to_site_cost_f` and `atom_to_site_cost_future_f` functions passed to `libcasm.mapping.mapsearch.MappingSearch` or `libcasm.mapping.mapsearch.AtomMappingSearchData` constructors must now accept `libcasm.mapping.mapsearch.LatticeMappingSearchData` as the first parameter instead of `libcasm.xtal.Lattice`. This provides access to the full lattice mapping context including the deformation gradient. The built-in cost functions `libcasm.mapping.mapsearch.make_atom_to_site_cost` and `libcasm.mapping.mapsearch.make_atom_to_site_cost_future` have been updated accordingly.
23
-
- Changed `libcasm.mapping.mapsearch.make_atom_to_site_cost_future` so that the displacement cost is calculated using the mean of the parent-to-child and child-to-parent costs, rather than just the parent-to-child cost. This makes the cost function symmetric with respect to swapping the parent and child structures.
22
+
-**Breaking change**: Removed `atom_to_site_cost_future_f` arguments. Custom `atom_to_site_cost_f` functions passed to `libcasm.mapping.mapsearch.MappingSearch` or `libcasm.mapping.mapsearch.AtomMappingSearchData` constructors must now accept `libcasm.mapping.mapsearch.LatticeMappingSearchData` as the first parameter instead of `libcasm.xtal.Lattice`. This provides access to the full lattice mapping context including the deformation gradient. The built-in cost function `libcasm.mapping.mapsearch.make_atom_to_site_cost` has been updated accordingly.
23
+
- Renamed `libcasm.mapping.mapsearch.make_atom_to_site_cost_future` to replace `libcasm.mapping.mapsearch.make_atom_to_site_cost`
24
+
- Changed `libcasm.mapping.mapsearch.make_atom_to_site_cost` so that the displacement cost is calculated using the mean of the parent-to-child and child-to-parent costs, rather than just the parent-to-child cost. This makes the cost function symmetric with respect to swapping the parent and child structures.
24
25
- Thread safety updates in casm/mapping/impl/ to StrainCostCalculator, LatticeMap, MappingNode, and StrucMapper.
25
26
27
+
### Removed
28
+
29
+
- Removed deprecatd mapping_impl::LatticeNode constructors. Use standalone methods to calculate LatticeNode members instead.
0 commit comments