Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a test case for gwb_grid in sphere. #616

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions tests/gwb-grid/spherical_grid_fault.grid
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ouput variables
grid_type = sphere
dim = 3
compositions = 1
# domain of the grid
x_min = -180
x_max = 180
y_min = -90
y_max = 90
z_min = 6071000
z_max = 6371000
# grid properties
n_cell_x = 12
n_cell_y = 12
n_cell_z = 1
13 changes: 13 additions & 0 deletions tests/gwb-grid/spherical_grid_fault.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "0.6",
"interpolation": "continuous monotone spline",
"coordinate system": {"model": "spherical", "depth method": "starting point"},
"features": [{ "model": "fault",
"name": "fault_1",
"coordinates": [[122.8, 75.5], [126.7, 78.2], [122.0, 80.7], [98.5, 85.0], [43.0, 86.5], [7.5, 84.9], [0.0, 84.1], [-4.5, 83.4]],
"dip point": [0, 1],
"min depth": -1000.0,
"max depth": 300000.0,
"segments": [{"length": 300000.0, "thickness": [100000.0], "angle": [90, 90]}],
"composition models": [{"model": "smooth", "compositions": [0], "side distance fault center": 50000.0}]}]
}
Binary file added tests/gwb-grid/spherical_grid_fault.vtu
Binary file not shown.
Loading