Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad Assign AttributeStore NameLoad attr ListLoad TupleLoad Str Num Num TupleLoad Str Num Num Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str BinOpAdd NameLoad Num For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Print Str NameLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Print BinOpMod Str AttributeLoad NameLoad attr orelse For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Print Str NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad keyword Num keyword Num keyword Num keyword Str keyword Str Assign NameStore Call NameLoad keyword Num keyword Num keyword Num keyword Str keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str Assign NameStore Call NameLoad Num keyword Str keyword Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A 
Simple M4 variable fidelity example.

Runs a DOE on a MidFidelity component instance.
Note that the MidFidelity component performs its correction calculations
on the first execution, then on subsequent executions the corrected result
is directly calculated.
 openmdao.main.api Assembly openmdao.main.datatypes.api Float m4.doe DOE m4.mid_fidelity MidFidelity m4.dummy_components Model_A2d Model_B2d MyModel N/A Assembly N/A N/A  Simple M4 variable fidelity example.   configure N/A N/A self N/A N/A N/A doe N/A N/A self add M4_DOE N/A DOE N/A N/A doe model N/A N/A self add VarFi N/A VarFi N/A N/A doe design_variables N/A N/A x 0.0 5.0 N/A y 0.0 5.0 N/A N/A doe response_variables N/A z1 z2 N/A N/A doe type rand_lhs N/A N/A doe n_samples 200 N/A execute N/A N/A self N/A N/A N/A  Run model and print results.  N/A N/A N/A N/A super MyModel self execute N/A N/A i case N/A enumerate N/A N/A self M4_DOE outerator N/A N/A N/A CASE %d: N/A i 1 N/A N/A name index value N/A case inputs N/A N/A     input: name index value N/A N/A case msg N/A N/A N/A     FAILED: %s N/A case msg N/A N/A N/A name index value N/A case outputs N/A N/A     output: name index value N/A N/A VarFi N/A MidFidelity N/A N/A  Example variable fidelity component.  N/A x N/A Float value 0.0 low 0.0 high 5.0 iotype in desc X input value. N/A y N/A Float default_value 0.0 low 0.0 high 5.0 units m iotype in desc Y input value. N/A z1 N/A Float 0.0 iotype out desc exp(x) + exp(y) N/A z2 N/A Float 0.0 iotype out desc 10.0*(x-2.0)**2 + 10.0*(y-1.5)**2 + 10.0 __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super VarFi self __init__ N/A N/A self rs_type rbf N/A N/A self n_samples 20 N/A N/A self tolerance 1e+20 N/A N/A self correction_function 2 N/A N/A self w_h 0.2 N/A N/A self accuracy_test_type 2 N/A N/A N/A self set_hifi_model N/A Model_A2d N/A N/A N/A self set_lofi_model N/A Model_B2d N/A N/A N/A self add_input_mapping x x x N/A N/A N/A self add_input_mapping y y y N/A N/A N/A self add_output_mapping z1 z z1 N/A N/A N/A self add_output_mapping z2 z z2 N/A N/A N/A N/A __name__ __main__ N/A N/A top N/A MyModel N/A N/A N/A top run