From 8f4b946825a18be2352e764b2ed586abbab4fa4c Mon Sep 17 00:00:00 2001 From: danieldouglas92 Date: Tue, 12 Nov 2024 13:19:59 -0700 Subject: [PATCH] Add changelog, update test --- CHANGELOG.md | 6 +-- .../water_content_subducting_plate.dat | 4 +- .../screen-output.log | 48 +++++++++---------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64114bb09..2a6c31b66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,9 +16,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - There is now a properties_output_size function, which returns the size of the output vector/array returned by the properties functions for a given properties input vector \[Menno Fraters; 2024-10-27; [#765](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/765)\] - Added 2d and 3d versions of the properties function to the C wrapper \[Menno Fraters; 2024-10-27; [#765](https://github.com/GeodynamicWorldBuilder/WorldBuilder/pull/765)\] -## Changed - -## Fixed +### Changed +- 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)\] +### Fixed ## [1.0.0] ### Added diff --git a/tests/gwb-dat/water_content_subducting_plate.dat b/tests/gwb-dat/water_content_subducting_plate.dat index 0a66e195d..29d6f645e 100644 --- a/tests/gwb-dat/water_content_subducting_plate.dat +++ b/tests/gwb-dat/water_content_subducting_plate.dat @@ -2,7 +2,7 @@ # file. # Now define parameters: # dim = 2 -# compositions = 1 +# compositions = 2 # x y d T C0 50e3 0e3 1e3 50e3 0e3 4e3 @@ -26,4 +26,4 @@ 210e3 0e3 92.5e3 210e3 0e3 95e3 210e3 0e3 97.5e3 -210e3 0e3 100e3 \ No newline at end of file +210e3 0e3 100e3 diff --git a/tests/gwb-dat/water_content_subducting_plate/screen-output.log b/tests/gwb-dat/water_content_subducting_plate/screen-output.log index 3aecb3992..8c763dd43 100644 --- a/tests/gwb-dat/water_content_subducting_plate/screen-output.log +++ b/tests/gwb-dat/water_content_subducting_plate/screen-output.log @@ -1,24 +1,24 @@ -# x z d T vx vz c0 tag -50e3 0e3 1e3 312.405 0 0 0 0 -50e3 0e3 4e3 430.229 0 0 0 0 -50e3 0e3 8e3 584.338 0 0 0 0 -50e3 0e3 11e3 695.831 0 0 0 0 -210e3 0e3 55e3 1322.25 0 2 0 1 -210e3 0e3 57.5e3 1203.62 0 2 0 1 -210e3 0e3 60e3 1034.33 0 2 0 1 -210e3 0e3 62.5e3 849.688 0 2 0 1 -210e3 0e3 65e3 697.68 0 2 0 1 -210e3 0e3 67.5e3 614.688 0 2 0 1 -210e3 0e3 70e3 616.639 0 2 0 1 -210e3 0e3 72.5e3 652.908 0 2 0 1 -210e3 0e3 75e3 687.783 0 2 0 1 -210e3 0e3 77.5e3 721.222 0 2 0 1 -210e3 0e3 80e3 753.193 0 2 0 1 -210e3 0e3 82.5e3 783.675 0 2 0 1 -210e3 0e3 85e3 812.658 0 2 0 1 -210e3 0e3 87.5e3 839.142 0 2 0 1 -210e3 0e3 90e3 863.691 0 2 0 1 -210e3 0e3 92.5e3 886.838 0 2 0 1 -210e3 0e3 95e3 908.585 0 2 0 1 -210e3 0e3 97.5e3 928.938 0 2 0 1 -210e3 0e3 100e3 947.908 0 2 0 1 +# x z d T vx vz c0 c1 tag +50e3 0e3 1e3 312.405 0 0 0 0.03 0 +50e3 0e3 4e3 430.229 0 0 0 0.01 0 +50e3 0e3 8e3 584.338 0 0 0 0.005 0 +50e3 0e3 11e3 695.831 0 0 0 0.02 0 +210e3 0e3 55e3 1322.25 0 2 0 0 1 +210e3 0e3 57.5e3 1203.62 0 2 0 0.00372427 1 +210e3 0e3 60e3 1034.33 0 2 0 0.00510104 1 +210e3 0e3 62.5e3 849.688 0 2 0 0.00689769 1 +210e3 0e3 65e3 697.68 0 2 0 0.01 1 +210e3 0e3 67.5e3 614.688 0 2 0 0.01 1 +210e3 0e3 70e3 616.639 0 2 0 0.005 1 +210e3 0e3 72.5e3 652.908 0 2 0 0.005 1 +210e3 0e3 75e3 687.783 0 2 0 0.005 1 +210e3 0e3 77.5e3 721.222 0 2 0 0.02 1 +210e3 0e3 80e3 753.193 0 2 0 0.02 1 +210e3 0e3 82.5e3 783.675 0 2 0 0.02 1 +210e3 0e3 85e3 812.658 0 2 0 0.02 1 +210e3 0e3 87.5e3 839.142 0 2 0 0.02 1 +210e3 0e3 90e3 863.691 0 2 0 0.02 1 +210e3 0e3 92.5e3 886.838 0 2 0 0.0191775 1 +210e3 0e3 95e3 908.585 0 2 0 0.0130946 1 +210e3 0e3 97.5e3 928.938 0 2 0 0.00908444 1 +210e3 0e3 100e3 947.908 0 2 0 0.00640881 1