Attribute `max_abs_step` not transmitted to pulled transients
Description
from cosapp.systems import System
class ExpOde(System):
"""System describing function y(t) = cst * exp(a * t), via ODE dy/dt = a * y"""
def setup(self):
self.add_inward('a', 1.0)
self.add_inward('y', 1.0)
self.add_outward('dy', 0.0)
self.add_transient('y', der='dy', max_abs_step=0.1)
def compute(self):
self.dy = self.a * self.y
class Top(System):
def setup(self):
self.add_child(ExpOde('sub'), pulling = ['a', 'y', 'dy'])
ExpOde
is the class in the tutorials, working as expected.
While reproducing the tutorial with class Top
, option max_abs_step
is not taken into account.
Edited by Etienne Lac