Skip to content

Commit f99409b

Browse files
add changelog
1 parent a274e66 commit f99409b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2020
- Added continental geotherm from Chapman (1986) for the Temperature Model in Continental Plate \[Alan Yu; 2025-01-21; [#778](https://github.com/GeodynamicWorldBuilder/WorldBuilder/issues/778), [#797](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/797)\]
2121

2222
### Changed
23+
- Modify the implementation of the Bezier curve to account for the special case of colinear points. Also added functionality for determining the arclength of the bezier curve. \[Daniel Douglas; 2025-01-23; [#799](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/799)\]
2324
- The tian2019 composition model now returns a mass fraction instead of a mass percentage. \[Daniel Douglas; 2024-11-12; [#767](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/767)\]
2425
- Only link to MPI libraries if the cmake variable USE_MPI has been set. No longer automatically link to MPI if MPI is found. \[Rene Gassmoeller; 2025-01-20; [#792](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/792)\]
2526
- Change the Doxygen documentation design using the Doxygen Awesome theme. Also fix the main README logo so it appears in the doxygen start page. \[Rene Gassmoeller; 2025-01-21; [#807](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/807)\]

source/world_builder/features/subducting_plate.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,4 +850,4 @@ namespace WorldBuilder
850850
*/
851851
WB_REGISTER_FEATURE(SubductingPlate, subducting plate)
852852
} // namespace Features
853-
} // namespace WorldBuilder
853+
} // namespace WorldBuilder

source/world_builder/features/subducting_plate_models/composition/interface.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ namespace WorldBuilder
7878
} // namespace Composition
7979
} // namespace SubductingPlateModels
8080
} // namespace Features
81-
} // namespace WorldBuilder
82-
81+
} // namespace WorldBuilder

tests/unit_tests/unit_test_world_builder.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4934,7 +4934,7 @@ TEST_CASE("GWB Bezier curve")
49344934
approval_tests.emplace_back(bezier_curve(1,1.0));
49354935
approval_tests.emplace_back(bezier_curve(1,1.1));
49364936

4937-
approval_tests.emplace_back(bezier_curve.get_bezier_arclength(), bezier_curve.get_bezier_arclength(), cartesian);
4937+
approval_tests.emplace_back(bezier_curve.get_total_arclength(), bezier_curve.get_total_arclength(), cartesian);
49384938

49394939
const Objects::BezierCurve bezier_curve_defined(coordinates,
49404940
{
@@ -5039,7 +5039,7 @@ TEST_CASE("WorldBuilder Utilities function: distance_point_from_curved_planes ca
50395039
approval_tests.emplace_back(bezier_curve(0,1.0)[1]);
50405040
approval_tests.emplace_back(bezier_curve(0,1.1)[0]);
50415041
approval_tests.emplace_back(bezier_curve(0,1.1)[1]);
5042-
approval_tests.emplace_back(bezier_curve.get_bezier_arclength());
5042+
approval_tests.emplace_back(bezier_curve.get_total_arclength());
50435043

50445044

50455045
WorldBuilder::Utilities::PointDistanceFromCurvedPlanes distance_from_planes =

0 commit comments

Comments
 (0)