Skip to content
Snippets Groups Projects
Commit 9d6dd3e7 authored by Chloé Mimeau's avatar Chloé Mimeau
Browse files

validation for the FD-based evaluation of Pressure-Poisson RHS 2

parent 0019509e
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,6 @@ def testDivAdvection(): ...@@ -188,7 +188,6 @@ def testDivAdvection():
errX = (box.length[0] / (nb - 1)) ** 4 errX = (box.length[0] / (nb - 1)) ** 4
ind = topo.mesh.iCompute ind = topo.mesh.iCompute
assert np.allclose(refd[0][ind], result[0][ind], rtol=errX) assert np.allclose(refd[0][ind], result[0][ind], rtol=errX)
print np.allclose(refd[0][ind], result[0][ind], rtol=errX)
if __name__ == "__main__": if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment