-
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.
Merge pull request #665 from MFraters/add_gwb-grid_filter_vtu_mesh_test
Add gwb grid filter vtu mesh test
- Loading branch information
Showing
5 changed files
with
205 additions
and
0 deletions.
There are no files selected for viewing
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,33 @@ | ||
{ | ||
"version": "0.6", | ||
"gravity model":{"model":"uniform", "magnitude":10}, | ||
"cross section":[[0,50e3],[50e3,0]], | ||
"features": | ||
[ | ||
{ | ||
"model":"continental plate", "name":"overriding plate", "max depth":200e3, | ||
"coordinates":[[-550e3,-550e3],[-550e3,550e3],[550e3,550e3],[550e3,-550e3]], | ||
"composition models": | ||
[ | ||
{"model":"uniform", "compositions":[3], "max depth":30e3}, | ||
{"model":"uniform", "compositions":[4], "min depth":30e3}, | ||
{"model":"uniform", "compositions":[6], "min depth":30e3, "operation":"add"}, | ||
{"model":"uniform", "compositions":[6], "fractions":[0.5], "min depth":75e3, "operation":"subtract"}, | ||
{"model":"uniform", "compositions":[6], "fractions":[1.5], "min depth":150e3, "operation":"replace defined only"} | ||
] | ||
}, | ||
{ | ||
"model":"subducting plate", "name":"Antilles slab", "dip point":[1e7,-1e7], | ||
"coordinates":[[0,0],[50e3,50e3]], | ||
"segments": | ||
[ | ||
{"length":600e3, "thickness":[200e3], "angle":[0,45], "top truncation":[-100.000e03]} | ||
], | ||
"temperature models":[{"model":"uniform", "temperature":600}], | ||
"composition models":[ | ||
{"model":"smooth", "compositions":[0], "top fractions":[0], "bottom fractions":[1], "min distance slab top":-100e3, "max distance slab top":0e3}, | ||
{"model":"uniform", "compositions":[0], "fractions":[1.25], "min distance slab top":0e3, "max distance slab top":50e3}, | ||
{"model":"smooth", "compositions":[0], "min distance slab top":50e3, "max distance slab top":200e3}] | ||
} | ||
] | ||
} |
33 changes: 33 additions & 0 deletions
33
tests/data/subducting_plate_composition_smooth_filtered.wb
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,33 @@ | ||
{ | ||
"version": "0.6", | ||
"gravity model":{"model":"uniform", "magnitude":10}, | ||
"cross section":[[0,50e3],[50e3,0]], | ||
"features": | ||
[ | ||
{ | ||
"model":"continental plate", "name":"overriding plate", "max depth":200e3, | ||
"coordinates":[[-550e3,-550e3],[-550e3,550e3],[550e3,550e3],[550e3,-550e3]], | ||
"composition models": | ||
[ | ||
{"model":"uniform", "compositions":[3], "max depth":30e3}, | ||
{"model":"uniform", "compositions":[4], "min depth":30e3}, | ||
{"model":"uniform", "compositions":[6], "min depth":30e3, "operation":"add"}, | ||
{"model":"uniform", "compositions":[6], "fractions":[0.5], "min depth":75e3, "operation":"subtract"}, | ||
{"model":"uniform", "compositions":[6], "fractions":[1.5], "min depth":150e3, "operation":"replace defined only"} | ||
] | ||
}, | ||
{ | ||
"model":"subducting plate", "name":"Antilles slab", "dip point":[1e7,-1e7], | ||
"coordinates":[[0,0],[50e3,50e3]], | ||
"segments": | ||
[ | ||
{"length":600e3, "thickness":[200e3], "angle":[0,45], "top truncation":[-100.000e03]} | ||
], | ||
"temperature models":[{"model":"uniform", "temperature":600}], | ||
"composition models":[ | ||
{"model":"smooth", "compositions":[0], "top fractions":[0], "bottom fractions":[1], "min distance slab top":-100e3, "max distance slab top":0e3}, | ||
{"model":"uniform", "compositions":[0], "fractions":[1.25], "min distance slab top":0e3, "max distance slab top":50e3}, | ||
{"model":"smooth", "compositions":[0], "min distance slab top":50e3, "max distance slab top":200e3}] | ||
} | ||
] | ||
} |
Oops, something went wrong.