Closed dHannasch closed 4 years ago
productspace only takes in a single end point for each variable. We can't provide two points yet. Nor can we define a different subdivision amount for each variable.
I think you'd need to change
continuation_steps.add_step('productspace') \
.const('theta_f', (2.6*pi/180, 3.6*pi/180, 10)) \
.const('phi_f', (1.85*pi/180, 2.25*pi/180, 5))
to
continuation_steps.add_step('productspace') \
.num_subdivisions(10) \
.const('theta_f', 3.6*pi/180) \
.const('phi_f', 2.25*pi/180)
Before you run product space, make sure the previous bisection strategy ends at theta_f = 2.6pi/180 and phi_f = 1.85pi/180.
Otherwise productspace should be behaving as expected.
When trying to run examples/AtmosphericFlight/Hypersonic3DOF/hypersonic3DOF.py with an added productspace step, it crashes with "ValueError: setting an array element with a sequence."
This is the only alteration to hypersonic3DOF.py:
This is the ValueError: