Skip to content

Commit

Permalink
dont use tmppath in benchmark case
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Oct 25, 2023
1 parent 0652bf1 commit 68fc9dd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/test_permeation_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os


def test_permeation_problem(tmp_path, mesh_size=1001):
def test_permeation_problem(mesh_size=1001):
L = 3e-04
vertices = np.linspace(0, L, num=mesh_size)

Expand All @@ -32,11 +32,7 @@ def test_permeation_problem(tmp_path, mesh_size=1001):
subdomain=left_surface, S_0=4.02e21, E_S=1.04, pressure=100, species="H"
),
]
my_model.exports = [
F.XDMFExport(
os.path.join(tmp_path, "mobile_concentration_H.xdmf"), field=mobile_H
)
]
my_model.exports = [F.XDMFExport("mobile_concentration.xdmf", field=mobile_H)]

my_model.settings = F.Settings(
atol=1e10,
Expand Down

0 comments on commit 68fc9dd

Please sign in to comment.