Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed SolveIVP and removed dead code from TranscriptionBase #1104

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def _test_mach_rate(self, p, plot=False, time_name='time'):
assert_near_equal(mach_rate_nodes, deriv(time_nodes), tolerance=1.0E-9)

# Comparing the mach rate over the entire trajectory since it is expected to be off at some points due to
# the equidistant time-spacing of nodes in SolveIVP's timeseries outputs.
# the equidistant time-spacing of nodes in ExplicitShooting's timeseries outputs.
assert_timeseries_near_equal(t_ref=time, x_ref=mach_rate, t_check=sim_time, x_check=sim_mach_rate,
abs_tolerance=0.02, rel_tolerance=0.02)

Expand Down
4 changes: 2 additions & 2 deletions dymos/phase/test/test_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_timeseries_gl(self, test_smaller_timeseries=False):
assert_near_equal(p.get_val(f'phase0.parameter_vals:{dp}')[0],
p.get_val(f'phase0.timeseries.{dp}')[i])

# call simulate to test SolveIVP transcription
# test simulation
exp_out = phase.simulate()
if test_smaller_timeseries:
with self.assertRaises(KeyError):
Expand Down Expand Up @@ -185,7 +185,7 @@ def test_timeseries_radau(self, test_smaller_timeseries=False):
assert_near_equal(p.get_val(f'phase0.parameters:{dp}')[0],
p.get_val(f'phase0.timeseries.{dp}')[i])

# call simulate to test SolveIVP transcription
# test simulation
exp_out = phase.simulate()
if test_smaller_timeseries:
with self.assertRaises(KeyError):
Expand Down
1 change: 0 additions & 1 deletion dymos/transcriptions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
from .pseudospectral.gauss_lobatto import GaussLobatto
from .pseudospectral.radau_pseudospectral import Radau
from .pseudospectral.birkhoff import Birkhoff
from .solve_ivp.solve_ivp import SolveIVP
Empty file.
7 changes: 0 additions & 7 deletions dymos/transcriptions/solve_ivp/components/__init__.py

This file was deleted.

163 changes: 0 additions & 163 deletions dymos/transcriptions/solve_ivp/components/ode_integration_interface.py

This file was deleted.

This file was deleted.

Loading
Loading