def NonlinearEllipticReductionMethod(EllipticCoerciveReductionMethod_DerivedClass): NonlinearEllipticReductionMethod_Base = NonlinearReductionMethod(EllipticCoerciveReductionMethod_DerivedClass) class NonlinearEllipticReductionMethod_Class(NonlinearEllipticReductionMethod_Base): pass # return value (a class) for the decorator return NonlinearEllipticReductionMethod_Class
def NavierStokesReductionMethod(StokesReductionMethod_DerivedClass): NavierStokesReductionMethod_Base = NonlinearReductionMethod( StokesReductionMethod_DerivedClass) class NavierStokesReductionMethod_Class(NavierStokesReductionMethod_Base): pass # return value (a class) for the decorator return NavierStokesReductionMethod_Class