

def solve_nonlinear(self, params, unknowns, resids):
    " Doesn't do much.  Just multiply by 3"
    unknowns['y'] = (3.0 * params['x'])
    if self.print_output:
        print('Execute', self.name)

dataset/ETHPy150Open OpenMDAO/OpenMDAO/examples/fd_comp_example.py SimpleComp.solve_nonlinear/original