Skip to content

Commit

Permalink
Filediff tests don't need tolerances.
Browse files Browse the repository at this point in the history
  • Loading branch information
jblueh committed Sep 28, 2022
1 parent 977812c commit dc6b77d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion TestCases/hybrid_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,6 @@ def main():
pywrapper_translating_naca0012.cfg_file = "config.cfg"
pywrapper_translating_naca0012.command = TestCase.Command(exec = "python", param = "run_su2.py")
pywrapper_translating_naca0012.timeout = 60
pywrapper_translating_naca0012.tol = 0.001
pywrapper_translating_naca0012.reference_file = "forces_0.csv.ref"
pywrapper_translating_naca0012.reference_file_aarch64 = "forces_0_aarch64.csv.ref"
pywrapper_translating_naca0012.test_file = "forces_0.csv"
Expand Down
4 changes: 0 additions & 4 deletions TestCases/parallel_regression_AD.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ def main():
unsteady_naca0012.test_iter = 14
unsteady_naca0012.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
unsteady_naca0012.timeout = 1600
unsteady_naca0012.tol = 0.001
unsteady_naca0012.reference_file = "of_grad_cd.csv.ref"
unsteady_naca0012.test_file = "of_grad_cd.csv"
unsteady_naca0012.unsteady = True
Expand All @@ -386,7 +385,6 @@ def main():
unsteady_naca0012.test_iter = 14
unsteady_naca0012.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-m adj -f")
unsteady_naca0012.timeout = 1600
unsteady_naca0012.tol = 0.001
unsteady_naca0012.reference_file = "of_grad_cd.csv.ref"
unsteady_naca0012.test_file = "of_grad_cd.csv"
unsteady_naca0012.unsteady = True
Expand Down Expand Up @@ -420,7 +418,6 @@ def main():
dyn_discadj_fsi.test_iter = 2
dyn_discadj_fsi.command = TestCase.Command("mpirun -n 2", "SU2_CFD_AD")
dyn_discadj_fsi.timeout = 1600
dyn_discadj_fsi.tol = 0.001
dyn_discadj_fsi.reference_file = "grad_dv.opt.ref"
dyn_discadj_fsi.reference_file_aarch64 = "grad_dv_aarch64.opt.ref"
dyn_discadj_fsi.test_file = "grad_young.opt"
Expand All @@ -439,7 +436,6 @@ def main():
grad_smooth_oneram6.test_iter = 2
grad_smooth_oneram6.command = TestCase.Command("mpirun -n 2", "SU2_DOT_AD")
grad_smooth_oneram6.timeout = 1600
grad_smooth_oneram6.tol = 0.001
grad_smooth_oneram6.reference_file = "of_hess.dat.ref"
grad_smooth_oneram6.reference_file_aarch64 = "of_hess_aarch64.dat.ref"
grad_smooth_oneram6.test_file = "of_hess.dat"
Expand Down
2 changes: 0 additions & 2 deletions TestCases/serial_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,6 @@ def main():
contadj_euler_py.test_iter = 10
contadj_euler_py.command = TestCase.Command(exec = "continuous_adjoint.py", param = "-f")
contadj_euler_py.timeout = 1600
contadj_euler_py.tol = 0.001
contadj_euler_py.reference_file = "of_grad_cd.dat.ref"
contadj_euler_py.test_file = "of_grad_cd.dat"
contadj_euler_py.new_output = True
Expand All @@ -1512,7 +1511,6 @@ def main():
contadj_multi_py.test_iter = 10
contadj_multi_py.command = TestCase.Command(exec = "continuous_adjoint.py", param = "-f")
contadj_multi_py.timeout = 1600
contadj_multi_py.tol = 0.001
contadj_multi_py.new_output = True
contadj_multi_py.reference_file = "of_grad_combo.dat.ref"
contadj_multi_py.test_file = "of_grad_combo.dat"
Expand Down
7 changes: 0 additions & 7 deletions TestCases/serial_regression_AD.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ def main():
discadj_rht.test_iter = 10
discadj_rht.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
discadj_rht.timeout = 1600
discadj_rht.tol = 0.001
discadj_rht.reference_file = "of_grad_cd.csv.ref"
discadj_rht.reference_file_aarch64 = "of_grad_cd_aarch64.csv.ref"
discadj_rht.test_file = "of_grad_cd.csv"
Expand All @@ -274,7 +273,6 @@ def main():
discadj_euler_py.test_iter = 10
discadj_euler_py.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
discadj_euler_py.timeout = 1600
discadj_euler_py.tol = 0.001
discadj_euler_py.reference_file = "of_grad_cd_disc.dat.ref"
discadj_euler_py.reference_file_aarch64 = "of_grad_cd_disc_aarch64.dat.ref"
discadj_euler_py.test_file = "of_grad_cd.dat"
Expand All @@ -288,7 +286,6 @@ def main():
discadj_multiple_ffd_py.test_iter = 9
discadj_multiple_ffd_py.command = TestCase.Command(exec = "discrete_adjoint.py", param = "-f")
discadj_multiple_ffd_py.timeout = 1600
discadj_multiple_ffd_py.tol = 0.001
discadj_multiple_ffd_py.reference_file = "of_grad_cd.dat.ref"
discadj_multiple_ffd_py.reference_file_aarch64 = "of_grad_cd_aarch64.dat.ref"
discadj_multiple_ffd_py.test_file = "of_grad_cd.dat"
Expand All @@ -302,7 +299,6 @@ def main():
directdiff_euler_py.test_iter = 10
directdiff_euler_py.command = TestCase.Command(exec = "direct_differentiation.py", param = "-f")
directdiff_euler_py.timeout = 1600
directdiff_euler_py.tol = 0.001
directdiff_euler_py.reference_file = "of_grad_directdiff.dat.ref"
directdiff_euler_py.reference_file_aarch64 = "of_grad_directdiff_aarch64.dat.ref"
directdiff_euler_py.test_file = "DIRECTDIFF/of_grad_directdiff.dat"
Expand All @@ -316,7 +312,6 @@ def main():
directdiff_multiple_ffd_py.test_iter = 9
directdiff_multiple_ffd_py.command = TestCase.Command(exec = "direct_differentiation.py", param = "-f")
directdiff_multiple_ffd_py.timeout = 1600
directdiff_multiple_ffd_py.tol = 0.001
directdiff_multiple_ffd_py.reference_file = "of_grad_directdiff.dat.ref"
directdiff_multiple_ffd_py.reference_file_aarch64 = "of_grad_directdiff_aarch64.dat.ref"
directdiff_multiple_ffd_py.test_file = "DIRECTDIFF/of_grad_directdiff.dat"
Expand All @@ -330,7 +325,6 @@ def main():
# discadj_multi_py.test_iter = 10
# discadj_multi_py.command = TestCase.Command(exec = "discrete_adjoint.py")
# discadj_multi_py.timeout = 1600
# discadj_multi_py.timeout = 0.001
# discadj_multi_py.reference_file = "of_grad_combo.dat.refdiscrete"
# discadj_multi_py.test_file = "of_grad_combo.dat"
# pass_list.append(discadj_multi_py.run_filediff())
Expand Down Expand Up @@ -373,7 +367,6 @@ def main():
grad_smooth_naca0012.test_iter = 1
grad_smooth_naca0012.command = TestCase.Command(exec = "SU2_DOT_AD")
grad_smooth_naca0012.timeout = 1600
grad_smooth_naca0012.tol = 0.00001
grad_smooth_naca0012.reference_file = "of_hess.dat.ref"
grad_smooth_naca0012.reference_file_aarch64 = "of_hess_aarch64.dat.ref"
grad_smooth_naca0012.test_file = "of_hess.dat"
Expand Down

0 comments on commit dc6b77d

Please sign in to comment.