-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add spherical test and fix broken variable spreading in spherical
- Loading branch information
1 parent
842deb5
commit 29ee914
Showing
13 changed files
with
9,186 additions
and
12,888 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This is a comment in the data | ||
# file. | ||
# Now define parameters: | ||
# dim = 3 | ||
# compositions = 0 | ||
# convert spherical = true | ||
# R long lat d T | ||
6321e3 22.5 16 50e3 | ||
6321e3 22.5 18 50e3 | ||
6321e3 22.5 20 50e3 | ||
6321e3 22.5 22 50e3 | ||
6321e3 22.5 23 50e3 | ||
6321e3 22.5 25 50e3 | ||
6321e3 22.5 27 50e3 | ||
6321e3 22.5 29 50e3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"version": "0.6", | ||
"coordinate system":{"model":"spherical", "depth method":"starting point"}, | ||
"gravity model":{"model":"uniform", "magnitude":10}, | ||
"surface temperature":273, "force surface temperature":true, | ||
"potential mantle temperature":1673, "thermal expansion coefficient":3.1e-5, | ||
"specific heat":1250, "thermal diffusivity":1.0e-6, | ||
"features": | ||
[ | ||
{ "model":"oceanic plate", "name":"Subducting", "max depth":250e3,"min depth":0, | ||
"coordinates" :[[15, 15],[15, 30],[30, 30],[30, 15]], | ||
"temperature models":[ | ||
{"model":"half space model", "min depth":0, "max depth":100e3, "spreading velocity":[ [0,[[0.005, 0.0001, 0.005]]], [0, [[0.001, 0.00005]]] ], | ||
"top temperature":273, | ||
"ridge coordinates": [[[20,10], [21, 16], [20, 22.5]], [[25, 22.5], [25, 31]]]}]} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
tests/gwb-dat/spherical_variable_spreading/screen-output.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# x y z d g T | ||
6321e3 22.5 16 50e3 1315.37 | ||
6321e3 22.5 18 50e3 1258.52 | ||
6321e3 22.5 20 50e3 1208.46 | ||
6321e3 22.5 22 50e3 1166.44 | ||
6321e3 22.5 23 50e3 696.071 | ||
6321e3 22.5 25 50e3 647.504 | ||
6321e3 22.5 27 50e3 588.45 | ||
6321e3 22.5 29 50e3 510.556 | ||
|