Skip to content

Commit

Permalink
mpi testing. reduced tolerance for restart checks with new interpolat…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
robfalck committed Nov 10, 2024
1 parent bf0e124 commit d10a944
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_ex_two_burn_orbit_raise_connected(self):
sim_case2 = om.CaseReader(sim_db).get_case('final')

# Verify that the second case has the same inputs and outputs
assert_cases_equal(sim_case1, sim_case2, tol=1.0E-8)
assert_cases_equal(sim_case1, sim_case2, tol=1.0E-7)

def test_restart_from_solution_radau(self):
optimizer = 'IPOPT'
Expand Down Expand Up @@ -86,7 +86,7 @@ def test_restart_from_solution_radau(self):
sim_case2 = om.CaseReader(sim_db).get_case('final')

# Verify that the second case has the same inputs and outputs
assert_cases_equal(sim_case1, sim_case2, tol=1.0E-8)
assert_cases_equal(sim_case1, sim_case2, tol=1.0E-7)


@require_pyoptsparse(optimizer='IPOPT')
Expand Down Expand Up @@ -152,8 +152,8 @@ def test_ex_two_burn_orbit_raise_connected(self):
sim_case2 = om.CaseReader(sim_db).get_case('final')

# Verify that the second case has the same inputs and outputs
assert_cases_equal(case1, case2, tol=1.0E-8)
assert_cases_equal(sim_case1, sim_case2, tol=1.0E-8)
assert_cases_equal(case1, case2, tol=1.0E-7)
assert_cases_equal(sim_case1, sim_case2, tol=1.0E-7)

@unittest.skipUnless(MPI, "MPI is required.")
def test_restart_from_solution_radau_to_connected(self):
Expand Down

0 comments on commit d10a944

Please sign in to comment.