Skip to content

Commit

Permalink
add dir for input file
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Jul 21, 2023
1 parent 1b31a0e commit d366c35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_parmparse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
import os

import amrex.space3d as amr

Expand All @@ -8,7 +9,8 @@ def test_parmparse():
ncell = 10
dt = 0.0
pp = amr.ParmParse("")
pp.addfile("./parmparse_inputs")
dir_name = os.path.dirname(__file__)
pp.addfile(dir_name+"/parmparse_inputs")
pp_param = amr.ParmParse("param")
(_, ncell) = pp_param.query_int("ncell")
dt = pp_param.get_real("dt")
Expand Down

0 comments on commit d366c35

Please sign in to comment.