Skip to content

Commit

Permalink
tests: Update tolerance + add mpi fixme.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhodrin committed Aug 14, 2020
1 parent 8433818 commit d1e5efa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_subdomains.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ def define(self, dimensions):

assert(np.all(f.data[:] == 1))

# FIXME: Fix this for MPI
# @pytest.mark.parallel(mode=4)
def test_acoustic_on_sd(self):

class CompDom(SubDomain):
Expand Down Expand Up @@ -510,7 +512,7 @@ def define(self, dimensions):

op(time=time_range.num-1, dt=dt)

assert np.isclose(norm(rec), 436.39, atol=1e-2, rtol=0)
assert np.isclose(norm(rec), 436.3915, rtol=1.e-5)

@pytest.mark.parallel(mode=4)
def test_mixed_functions_mpi(self):
Expand Down

0 comments on commit d1e5efa

Please sign in to comment.