[Transport] Map 5 IDs for the transport case

parent 433d811f
......@@ -13,4 +13,4 @@ extensions = 1 1
[grid.mapping]
file = "{_asset_path}/maps/cell_ids.h5"
volume = ut/param_test
volume = ut/param_test_2
......@@ -13,7 +13,7 @@ extensions = 1 1
[grid.mapping]
file = "{_asset_path}/maps/cell_ids.h5"
volume = ut/param_test
volume = ut/param_test_2
[richards]
......
......@@ -13,7 +13,7 @@ extensions = 1 1
[grid.mapping]
file = "{_asset_path}/maps/cell_ids.h5"
volume = ut/param_test
volume = ut/param_test_5
[transport]
......
......@@ -32,7 +32,8 @@ def create_and_write_datasets(args):
ode_layered_20 = np.zeros((20, 1), dtype=np.int_)
ode_layered_20[10:, ...] = 1
param_test = np.random.randint(2, size=(50, 50))
param_test_2 = np.random.randint(2, size=(50, 50))
param_test_5 = np.random.randint(2, size=(50, 50))
# have a checkerboard!
parallel_reference_2d = np.kron([[1, 0] * 2, [0, 1] * 2] * 2, np.ones((10, 10), dtype=np.int_))
......@@ -54,7 +55,8 @@ def create_and_write_datasets(args):
f.create_dataset("ode_layered_160", data=ode_layered_160)
f.create_dataset("ode_layered_40", data=ode_layered_40)
f.create_dataset("ode_layered_20", data=ode_layered_20)
f.create_dataset("ut/param_test", data=param_test)
f.create_dataset("ut/param_test_2", data=param_test_2)
f.create_dataset("ut/param_test_5", data=param_test_5)
f.create_dataset("parallel_reference_2d", data=parallel_reference_2d)
f.create_dataset("parallel_reference_3d", data=parallel_reference_3d)
f.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment