Module Expr Str Import alias ImportFrom alias alias alias alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword BinOpDiv Num Num Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num keyword Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpMult SubscriptLoad NameLoad Index Str BinOpPow SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str BinOpSub BinOpMult SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword ListLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Num Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Num Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A  Unit test for the Brent, one variable nonlinear solver. In this case, the
system has multiple components. N/A unittest openmdao.api Group Problem Component Brent ScipyGMRES openmdao.test.util assert_rel_error CompPart1 N/A Component N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super CompPart1 self __init__ N/A N/A N/A self fd_options N/A force_fd True N/A N/A N/A self add_param a val 1.0 N/A N/A N/A self add_param n val N/A 77.0 27.0 N/A N/A N/A self add_param part2 val 0.0 N/A N/A N/A self add_state x val 2.0 lower 0 upper 100 N/A solve_nonlinear N/A N/A self p u r N/A N/A N/A N/A apply_nonlinear N/A N/A self p u r N/A N/A N/A N/A r N/A x N/A N/A N/A p N/A a N/A N/A u N/A x N/A p N/A n N/A p N/A part2 N/A N/A CompPart2 N/A Component N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super CompPart2 self __init__ N/A N/A N/A self fd_options N/A force_fd True N/A N/A N/A self add_param b val 1.0 N/A N/A N/A self add_param c val 10.0 N/A N/A N/A self add_param x val 2.0 N/A N/A N/A self add_output part2 val 0.0 N/A solve_nonlinear N/A N/A self p u r N/A N/A N/A N/A u N/A part2 N/A N/A N/A p N/A b N/A p N/A x N/A p N/A c N/A N/A Combined N/A Group N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super Combined self __init__ N/A N/A N/A self add p1 N/A CompPart1 promotes N/A * N/A N/A N/A self add p2 N/A CompPart2 promotes N/A * N/A N/A self nl_solver N/A Brent N/A N/A N/A N/A self nl_solver options N/A state_var x N/A N/A self ln_solver N/A ScipyGMRES N/A N/A N/A self set_order N/A p1 p2 N/A N/A BrentMultiCompTestCase N/A N/A unittest TestCase N/A N/A test to make sure brent can converge multiple components
    in a group with a single residual across them all
     test_multi_comp N/A N/A self N/A N/A N/A p N/A Problem N/A N/A p root N/A Combined N/A N/A N/A p setup check False N/A N/A N/A p run N/A N/A assert_rel_error self N/A N/A N/A p root unknowns N/A x 2.06720359226 0.0001 N/A N/A assert_rel_error self N/A N/A N/A p root resids N/A x 0 0.0001 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main