Module Expr Str Import alias ImportFrom alias alias ImportFrom alias If NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str decorator_list orelse FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Import alias identifier ImportFrom alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num 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 ListLoad Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Str ListLoad Num Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Dict Dict Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Num Str Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Num Str Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Num Str Num Num Assign NameStore Call NameLoad Assign NameStore AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str NameLoad Str Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str BinOpMult Num ListLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Num Str Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Str Num NameLoad Num Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Str Num NameLoad Num Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Dict Str Str Str Str Str Num NameLoad Num Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A  Test for the Component class N/A unittest six text_type PY3 six.moves cStringIO N/A PY3 N/A py3fix N/A N/A s N/A N/A N/A N/A N/A s replace <type <class N/A N/A py3fix N/A N/A s N/A N/A N/A s N/A N/A numpy np openmdao.api Component Problem Group MyComp N/A Component N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super MyComp self __init__ N/A N/A N/A self add_param x_int_pbo 2 pass_by_obj True N/A N/A N/A self add_output x_int 3 N/A N/A MyComp2 N/A Component N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super MyComp2 self __init__ N/A N/A N/A self add_output x_list_pbo N/A 1.0 2.0 pass_by_obj True N/A N/A N/A self add_param x_list N/A 2.0 3.0 N/A N/A TestComponent N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self comp N/A Component N/A test_not_impl N/A N/A self N/A N/A N/A N/A N/A self assertRaises RuntimeError cm N/A N/A N/A N/A N/A self comp solve_nonlinear N/A N/A N/A N/A expected_msg N/A py3fix Class 'Component' does not implement 'solve_nonlinear' N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A test_param_name_errors N/A N/A self N/A N/A N/A N/A N/A N/A self comp add_param xxyyzz 0.0 N/A N/A N/A self assertRaises RuntimeError cm N/A N/A N/A N/A N/A self comp add_param xxyyzz 0.0 N/A expected_msg N/A py3fix : variable 'xxyyzz' already exists. N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A N/A N/A self assertRaises NameError cm N/A N/A N/A N/A N/A self comp add_param xx/yy/zz 0.0 N/A expected_msg N/A py3fix : 'xx/yy/zz' is not a valid variable name. N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A N/A N/A N/A self comp _setup_variables N/A N/A N/A self assertRaises RuntimeError cm N/A N/A N/A N/A N/A self comp add_param latefortheparty 0.0 N/A expected_msg : can't add variable 'latefortheparty' because setup has already been called. N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A test_output_name_errors N/A N/A self N/A N/A N/A N/A N/A N/A self comp add_output xxyyzz 0.0 N/A N/A N/A self assertRaises RuntimeError cm N/A N/A N/A N/A N/A self comp add_output xxyyzz 0.0 N/A expected_msg N/A py3fix : variable 'xxyyzz' already exists. N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A N/A N/A self assertRaises NameError cm N/A N/A N/A N/A N/A self comp add_output xx/yy/zz 0.0 N/A expected_msg N/A py3fix : 'xx/yy/zz' is not a valid variable name. N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A N/A N/A N/A self comp _setup_variables N/A N/A N/A self assertRaises RuntimeError cm N/A N/A N/A N/A N/A self comp add_output latefortheparty 0.0 N/A expected_msg : can't add variable 'latefortheparty' because setup has already been called. N/A N/A N/A self assertEqual N/A str N/A cm exception expected_msg N/A test_promotes N/A N/A self N/A N/A N/A p N/A Problem root N/A Group N/A N/A N/A N/A p root add comp N/A self comp N/A N/A N/A N/A self comp add_param xxyyzz 0.0 N/A N/A N/A N/A self comp add_param foobar 0.0 N/A N/A N/A N/A self comp add_output a:bcd:efg -1 N/A N/A N/A N/A self comp add_output x_y_z N/A N/A np zeros 10 N/A N/A N/A self comp _promotes N/A * N/A N/A N/A p setup check False N/A name N/A N/A self comp _init_params_dict N/A N/A N/A N/A self assertTrue N/A N/A N/A self comp _promoted name N/A name N/A N/A self comp _init_unknowns_dict N/A N/A N/A N/A self assertTrue N/A N/A N/A self comp _promoted name N/A N/A N/A self assertFalse N/A N/A N/A self comp _promoted blah N/A N/A N/A self comp _promotes N/A x* N/A N/A N/A p setup check False N/A name N/A N/A self comp _init_params_dict N/A N/A N/A N/A name startswith x N/A N/A N/A N/A self assertTrue N/A N/A N/A self comp _promoted name N/A N/A N/A N/A self assertFalse N/A N/A N/A self comp _promoted name N/A name N/A N/A self comp _init_unknowns_dict N/A N/A N/A N/A name startswith x N/A N/A N/A N/A self assertTrue N/A N/A N/A self comp _promoted name N/A N/A N/A N/A self assertFalse N/A N/A N/A self comp _promoted name N/A N/A N/A self comp _promotes N/A *:efg N/A N/A N/A p setup check False N/A name N/A N/A self comp _init_params_dict N/A N/A N/A N/A name endswith :efg N/A N/A N/A N/A self assertTrue N/A N/A N/A self comp _promoted name N/A N/A N/A N/A self assertFalse N/A N/A N/A self comp _promoted name N/A name N/A N/A self comp _init_unknowns_dict N/A N/A N/A N/A name endswith :efg N/A N/A N/A N/A self assertTrue N/A N/A N/A self comp _promoted name N/A N/A N/A N/A self assertFalse N/A N/A N/A self comp _promoted name N/A N/A N/A N/A N/A self comp _promotes * N/A N/A N/A N/A self comp _promoted xxyyzz N/A N/A N/A Exception N/A err N/A N/A N/A N/A self assertEqual N/A text_type err 'comp' promotes must be specified as a list, tuple or other iterator of strings, but '*' was specified N/A test_add_params N/A N/A self N/A N/A N/A N/A N/A N/A self comp add_param x 0.0 N/A N/A N/A N/A self comp add_param y 0.0 N/A N/A N/A N/A self comp add_param z shape N/A 1 N/A N/A N/A N/A self comp add_param t shape 2 N/A N/A N/A N/A self comp add_param u shape 1 N/A N/A N/A N/A self comp add_param w N/A prob N/A Problem N/A N/A N/A N/A self comp _init_sys_data N/A prob _probdata N/A N/A params unknowns N/A N/A N/A self comp _setup_variables N/A N/A N/A self assertEqual N/A x y z t u w N/A list N/A N/A params keys N/A N/A N/A self assertEqual N/A params N/A x N/A shape pathname val size 1 x 0.0 1 N/A N/A N/A self assertEqual N/A params N/A y N/A shape pathname val size 1 y 0.0 1 N/A N/A N/A N/A np testing assert_array_equal N/A N/A params N/A z N/A val N/A N/A np zeros N/A 1 N/A N/A N/A N/A np testing assert_array_equal N/A N/A params N/A t N/A val N/A N/A np zeros N/A 2 N/A N/A N/A self assertEqual N/A params N/A u N/A shape pathname val size 1 u 0.0 1 N/A prob N/A Problem N/A root N/A prob root N/A Group N/A N/A N/A root add comp N/A self comp N/A N/A N/A self assertRaises RuntimeError cm N/A N/A N/A N/A prob setup check False N/A N/A N/A self assertTrue N/A Unconnected param 'comp.w' is missing a shape or default value. N/A str N/A cm exception N/A test_add_outputs N/A N/A self N/A N/A N/A N/A N/A N/A self comp add_output x -1 N/A N/A N/A N/A self comp add_output y N/A N/A np zeros 10 N/A N/A N/A N/A self comp add_output z shape N/A 10 N/A N/A N/A N/A self comp add_output t shape 2 N/A N/A N/A N/A self comp add_output u shape 1 N/A N/A N/A self assertRaises ValueError cm N/A N/A N/A N/A N/A self comp add_output w N/A N/A N/A self assertEqual N/A str N/A cm exception Shape of output 'w' must be specified because 'val' is not set N/A prob N/A Problem N/A N/A N/A N/A self comp _init_sys_data N/A prob _probdata N/A N/A params unknowns N/A N/A N/A self comp _setup_variables N/A N/A N/A self assertEqual N/A x y z t u N/A list N/A N/A unknowns keys N/A N/A N/A self assertIsInstance N/A N/A unknowns N/A x N/A val int N/A N/A N/A self assertIsInstance N/A N/A unknowns N/A y N/A val N/A np ndarray N/A N/A N/A self assertIsInstance N/A N/A unknowns N/A z N/A val N/A np ndarray N/A N/A N/A self assertIsInstance N/A N/A unknowns N/A t N/A val N/A np ndarray N/A N/A N/A self assertIsInstance N/A N/A unknowns N/A u N/A val float N/A N/A N/A self assertEqual N/A unknowns N/A x N/A pass_by_obj pathname val size True x -1 0 N/A N/A N/A self assertEqual N/A list N/A N/A unknowns N/A y N/A val N/A 10 N/A 0 N/A N/A N/A N/A np testing assert_array_equal N/A N/A unknowns N/A z N/A val N/A N/A np zeros N/A 10 N/A N/A N/A N/A np testing assert_array_equal N/A N/A unknowns N/A t N/A val N/A N/A np zeros N/A 2 N/A N/A N/A self assertEqual N/A unknowns N/A u N/A shape pathname val size 1 u 0.0 1 N/A test_add_states N/A N/A self N/A N/A N/A N/A N/A N/A self comp add_state s1 0.0 N/A N/A N/A N/A self comp add_state s2 6.0 N/A N/A N/A N/A self comp add_state s3 shape N/A 1 N/A N/A N/A N/A self comp add_state s4 shape 2 N/A N/A N/A N/A self comp add_state s5 shape 1 N/A N/A N/A self assertRaises ValueError cm N/A N/A N/A N/A N/A self comp add_state s6 N/A N/A N/A self assertEqual N/A str N/A cm exception Shape of state 's6' must be specified because 'val' is not set N/A prob N/A Problem N/A N/A N/A N/A self comp _init_sys_data N/A prob _probdata N/A N/A params unknowns N/A N/A N/A self comp _setup_variables N/A N/A N/A self assertEqual N/A s1 s2 s3 s4 s5 N/A list N/A N/A unknowns keys N/A N/A N/A self assertEqual N/A unknowns N/A s1 N/A val state shape pathname size 0.0 True 1 s1 1 N/A N/A N/A self assertEqual N/A unknowns N/A s2 N/A val state shape pathname size 6.0 True 1 s2 1 N/A N/A N/A N/A np testing assert_array_equal N/A N/A unknowns N/A s3 N/A val N/A N/A np zeros N/A 1 N/A N/A N/A N/A np testing assert_array_equal N/A N/A unknowns N/A s4 N/A val N/A N/A np zeros N/A 2 N/A N/A N/A self assertEqual N/A unknowns N/A s5 N/A val state shape pathname size 0.0 True 1 s5 1 N/A test_generate_numpydocstring N/A N/A self N/A N/A N/A N/A N/A N/A self comp add_param x 0.0 N/A N/A N/A N/A self comp add_param y shape 2 N/A N/A N/A N/A self comp add_output z -1 N/A N/A N/A N/A self comp add_state s 0.0 N/A test_string N/A N/A N/A self comp generate_docstring N/A original_string     """

    Params
    ----------
    x: param ({'shape': 1, 'size': 1, 'val': 0.0})
    y: param ({'shape': (2,), 'size': 2, 'val': [ 0.  0.]})
    z : unknown ({'pass_by_obj': True, 'size': 0, 'val': -1})
    s : unknown ({'shape': 1, 'size': 1, 'state': True, 'val': 0.0})

    Options
    -------
    fd_options['extra_check_partials_form'] : NoneType(None)
        Finite difference mode: ("forward", "backward", "central", "complex_step") During check_partial_derivatives, you can optionally do a second finite difference with a different mode.
    fd_options['force_fd'] : bool(False)
        Set to True to finite difference this system.
    fd_options['form'] : str('forward')
        Finite difference mode. (forward, backward, central) You can also set to 'complex_step' to peform the complex step method if your components support it.
    fd_options['linearize'] : bool(False)
        Set to True if you want linearize to be called even though you are using FD.
    fd_options['step_size'] : float(1e-06)
        Default finite difference stepsize
    fd_options['step_type'] : str('absolute')
        Set to absolute, relative

    """
 N/A N/A sorig stest N/A zip N/A N/A original_string split N/A N/A test_string split N/A N/A N/A N/A self assertEqual sorig stest N/A test_add_var_pbo_check N/A N/A self N/A N/A N/A p N/A Problem root N/A Group N/A root N/A p root N/A N/A N/A root add C1 N/A MyComp N/A N/A N/A root add C2 N/A MyComp2 N/A s N/A cStringIO N/A N/A N/A p setup out_stream s N/A content N/A N/A s getvalue N/A N/A N/A self assertTrue N/A The following variables are not differentiable but were not labeled by the user as pass_by_obj:
C1.x_int: type int
C2.x_list: type list content N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main