Module Expr Str Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Call NameLoad Num Num keyword Str FunctionDef arguments args NameParam defaults body Return TupleLoad Str TupleLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index Str ExtSlice Index Num Slice BinOpMult SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index Num Slice SubscriptLoad NameLoad Index Str AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index Str ExtSlice Index Num Slice BinOpMult SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index Num Slice SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body AugAssignAdd SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr BinOpMult SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Slice Index Num SubscriptLoad SubscriptLoad NameLoad Index Str ExtSlice Index Num Slice AugAssignAdd SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr BinOpMult SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Slice Index Num SubscriptLoad SubscriptLoad NameLoad Index Str ExtSlice Index Num Slice decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Index Num Slice BinOpMult SubscriptLoad NameLoad ExtSlice Index Num Slice NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr ExtSlice Index Num Slice BinOpMult SubscriptLoad NameLoad ExtSlice Index Num Slice NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Call NameLoad Num Num keyword Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr TupleLoad Num Num keyword Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad TupleLoad Str TupleLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad TupleLoad Str TupleLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn Str NameLoad body AugAssignAdd SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr attr TupleLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn Str NameLoad body AugAssignAdd SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr attr TupleLoad Num Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num Num Num Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num Num Num Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num Num Num Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num Num Num Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num Num Num Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr ListLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr
N/A N/A 
Testing differentiation of user-defined datatypes.
 N/A nose N/A unittest N/A numpy np openmdao.lib.geometry.geom_data GeomData openmdao.main.api Component Assembly set_as_top openmdao.main.datatypes.api Array Float VarTree openmdao.util.testutil assert_rel_error GeomComponent N/A Component N/A N/A x N/A Float 1.0 iotype in N/A geom_out N/A VarTree N/A GeomData 2 1 iotype out list_deriv_vars N/A N/A self N/A N/A N/A N/A x N/A geom_out.points N/A provideJ N/A N/A self N/A N/A N/A N/A self J N/A N/A np array N/A N/A 2 0 1 N/A 0 2 1 dtype N/A np float N/A apply_deriv N/A N/A self arg result N/A N/A N/A N/A N/A result N/A geom_out.points N/A N/A 0 N/A N/A N/A N/A self J N/A N/A 0 N/A N/A arg N/A x N/A N/A N/A result N/A geom_out.points N/A N/A 1 N/A N/A N/A N/A self J N/A N/A 1 N/A N/A arg N/A x N/A apply_derivT N/A N/A self arg result N/A N/A N/A N/A result N/A x N/A N/A np sum N/A N/A N/A N/A self J T N/A N/A N/A 0 N/A N/A arg N/A geom_out.points N/A N/A 0 N/A N/A N/A result N/A x N/A N/A np sum N/A N/A N/A N/A self J T N/A N/A N/A 1 N/A N/A arg N/A geom_out.points N/A N/A 1 N/A N/A execute N/A N/A self N/A N/A N/A x N/A self x N/A J N/A N/A np array N/A N/A 2 0 1 N/A 0 2 1 N/A N/A N/A N/A self geom_out points N/A N/A 0 N/A N/A N/A J N/A N/A 0 N/A x N/A N/A N/A N/A self geom_out points N/A N/A 1 N/A N/A N/A J N/A N/A 1 N/A x N/A N/A GeomRecieve N/A Component N/A N/A geom_in N/A VarTree N/A GeomData 2 1 iotype in N/A out N/A Array N/A N/A np zeros N/A 2 3 iotype out execute N/A N/A self N/A N/A N/A N/A self out N/A N/A self geom_in points N/A N/A GeomRecieveDerivProvideJ N/A GeomRecieve N/A provideJ N/A N/A self N/A N/A N/A N/A self J N/A N/A np eye 6 N/A N/A self J N/A list_deriv_vars N/A N/A self N/A N/A N/A N/A N/A geom_in.points N/A out N/A N/A GeomRecieveDerivApplyDeriv N/A GeomRecieve N/A provideJ N/A N/A self N/A N/A N/A N/A self J N/A N/A np eye 6 N/A list_deriv_vars N/A N/A self N/A N/A N/A N/A N/A geom_in.points N/A out N/A apply_deriv N/A N/A self arg result N/A N/A N/A N/A geom_in.points arg N/A N/A N/A result N/A out N/A N/A N/A N/A N/A self J dot N/A N/A N/A arg N/A geom_in.points flatten reshape N/A 2 3 N/A apply_derivT N/A N/A self arg result N/A N/A N/A N/A out arg N/A N/A N/A result N/A geom_in.points N/A N/A N/A N/A N/A N/A self J T dot N/A N/A N/A arg N/A out flatten reshape N/A 2 3 N/A N/A Testcase_deriv_obj N/A N/A unittest TestCase N/A _check_J N/A N/A self J N/A N/A N/A N/A assert_rel_error self N/A J N/A N/A 0 0 2.0 1e-05 N/A N/A assert_rel_error self N/A J N/A N/A 1 0 0.0 1e-05 N/A N/A assert_rel_error self N/A J N/A N/A 2 0 1.0 1e-05 N/A N/A assert_rel_error self N/A J N/A N/A 3 0 0.0 1e-05 N/A N/A assert_rel_error self N/A J N/A N/A 4 0 2.0 1e-05 N/A N/A assert_rel_error self N/A J N/A N/A 5 0 1.0 1e-05 N/A setUp N/A N/A self N/A N/A N/A N/A self top N/A set_as_top N/A Assembly N/A N/A N/A N/A self top add c1 N/A GeomComponent N/A N/A N/A N/A self top add c2 N/A GeomRecieve N/A N/A N/A N/A self top connect c1.geom_out.points c2.geom_in.points N/A N/A N/A N/A N/A N/A self top driver workflow add N/A c1 c2 N/A N/A N/A N/A self top c1 x 4.0 N/A N/A self inputs N/A c1.x N/A N/A self outputs N/A c2.out N/A tearDown N/A N/A self N/A N/A N/A N/A self top None N/A _check_derivs N/A N/A self N/A N/A N/A top N/A self top N/A inputs N/A self inputs N/A outputs N/A self outputs N/A J N/A N/A N/A top driver calc_gradient inputs outputs mode forward N/A N/A N/A self _check_J J N/A J N/A N/A N/A top driver calc_gradient inputs outputs mode adjoint N/A N/A N/A self _check_J J N/A J N/A N/A N/A top driver calc_gradient inputs outputs mode fd N/A N/A N/A self _check_J J N/A test_geom_provide_deriv_check_fd_tail N/A N/A self N/A N/A N/A N/A N/A N/A self top run N/A N/A N/A self _check_derivs N/A test_geom_provide_deriv_check_analytic_tail_provideJ N/A N/A self N/A N/A N/A N/A N/A N/A self top replace c2 N/A GeomRecieveDerivProvideJ N/A N/A N/A N/A self top run N/A N/A N/A self _check_derivs N/A test_geom_provide_deriv_check_analytic_tail_apply_deriv N/A N/A self N/A N/A N/A N/A N/A N/A self top replace c2 N/A GeomRecieveDerivApplyDeriv N/A N/A N/A N/A self top run N/A N/A N/A self _check_derivs N/A N/A N/A N/A __name__ __main__ N/A N/A sys N/A N/A N/A N/A sys argv append --cover-package=openmdao N/A N/A N/A N/A sys argv append --cover-erase N/A N/A N/A nose runmodule