Module Expr Str Import alias Import alias identifier ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Num keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr BinOpMult Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Assign NameStore TupleLoad Str Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str keyword ListLoad Str Expr Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str keyword ListLoad Str keyword Str Expr Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str keyword ListLoad Str Assign NameStore BinOpSub NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str keyword ListLoad Str keyword Str Assign NameStore BinOpSub NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Num Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Basic new method to calculate derivatives across assembly.
 N/A unittest N/A numpy np openmdao.main.api Component Assembly set_as_top openmdao.main.datatypes.api Float openmdao.main.test.test_derivatives ArrayComp2D openmdao.util.testutil assert_rel_error SimpleComp N/A Component N/A N/A x N/A Float 1.0 iotype in N/A y N/A Float 1.0 iotype out execute N/A N/A self N/A N/A N/A  run  N/A N/A self y N/A 5.3 N/A self x N/A provideJ N/A N/A self N/A N/A N/A  Calculate the Jacobian  N/A J N/A N/A np zeros N/A 1 1 N/A N/A J N/A N/A 0 0 5.3 N/A J N/A list_deriv_vars N/A N/A self N/A N/A N/A input_keys N/A x N/A output_keys N/A y N/A N/A input_keys output_keys N/A N/A Testcase_derivatives_assembly N/A N/A unittest TestCase N/A N/A  Test derivative across assemblies.  test_simple N/A N/A self N/A N/A N/A top N/A set_as_top N/A Assembly N/A nest N/A N/A top add nest N/A Assembly N/A N/A N/A N/A N/A top driver workflow add nest N/A N/A N/A N/A top driver gradient_options lin_solver petsc_ksp N/A N/A N/A nest add comp N/A SimpleComp N/A N/A N/A N/A N/A nest driver workflow add comp N/A N/A N/A nest create_passthrough comp.x N/A N/A N/A nest create_passthrough comp.y N/A N/A N/A top run N/A N/A N/A N/A N/A top nest driver gradient_options derivative_direction forward N/A J N/A N/A N/A top driver calc_gradient inputs N/A nest.x outputs N/A nest.y N/A N/A assert_rel_error self N/A N/A J N/A 0 N/A 0 5.3 1e-06 N/A J N/A N/A N/A top driver calc_gradient inputs N/A nest.x outputs N/A nest.y mode adjoint N/A N/A assert_rel_error self N/A N/A J N/A 0 N/A 0 5.3 1e-06 N/A test_array N/A N/A self N/A N/A N/A top N/A set_as_top N/A Assembly N/A nest N/A N/A top add nest N/A Assembly N/A N/A N/A N/A N/A top driver workflow add nest N/A N/A N/A N/A top driver gradient_options lin_solver petsc_ksp N/A N/A N/A nest add comp N/A ArrayComp2D N/A N/A N/A N/A N/A nest driver workflow add comp N/A N/A N/A nest create_passthrough comp.x N/A N/A N/A nest create_passthrough comp.y N/A N/A N/A top run N/A J N/A N/A N/A top driver calc_gradient inputs N/A nest.x outputs N/A nest.y N/A diff N/A J N/A N/A N/A top nest comp J N/A N/A assert_rel_error self N/A N/A diff max 0.0 1e-06 N/A J N/A N/A N/A top driver calc_gradient inputs N/A nest.x outputs N/A nest.y mode adjoint N/A diff N/A J N/A N/A N/A top nest comp J N/A N/A assert_rel_error self N/A N/A diff max 0.0 1e-06 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main