def __init__(self, dp, recname): self.dp = dp F = dp.get_fun_space() R = dp.get_res_space() I0 = dp.get_imp_space() Imarked = copy.copy(I0) setattr(Imarked, ATTRIBUTE_NDP_RECURSIVE_NAME, recname) PrimitiveDP.__init__(self, F=F, R=R, I=Imarked) self.recname = recname
def __init__(self, dp): self.dp = dp F = dp.F R = dp.R I = dp.I PrimitiveDP.__init__(self, F, R, I)