Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
robfalck committed Aug 8, 2023
1 parent c077ba8 commit 52b36a7
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions dymos/trajectory/trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,24 +51,15 @@ class Trajectory(om.Group):
_phase_graph : nx.DiGraph
A graph of linked phases.
"""
def __init__(self, parallel_phases=True, **kwargs):
"""
Initialize a Trajectory instance.
Parameters
----------
parallel_phases : bool
If True, make the phases subsystem a ParallelGroup otherwise
it will be a standard OpenMDAO Group.
"""
def __init__(self, **kwargs):
super(Trajectory, self).__init__(**kwargs)

self._linkages = {}
self._phases = {}
self._phase_graph = nx.DiGraph()

self.parameter_options = {}
self.phases = om.ParallelGroup() if parallel_phases else om.Group()
self.phases = om.ParallelGroup()

def initialize(self):
"""
Expand Down

0 comments on commit 52b36a7

Please sign in to comment.