Skip to content

Commit

Permalink
extend test for location of the point-source in grid
Browse files Browse the repository at this point in the history
  • Loading branch information
roeldegoede committed Nov 8, 2023
1 parent 41358a4 commit 827bad6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_1model_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,11 @@ def test_storage_volume(tmpdir):

assert np.isclose(mod.grid["vol"].sum(), 34.5)

# check index of the point with maximum volume
index = mod.grid["vol"].argmax()
assert index == 1601


def test_observations(tmpdir):
root = TESTMODELDIR
mod = SfincsModel(root=root, mode="r+")
Expand Down

0 comments on commit 827bad6

Please sign in to comment.