Module Expr Str ImportFrom alias Import alias identifier ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword ListLoad Str Str Str keyword BinOpAdd BinOpAdd Str Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword ListLoad Str Str keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Str Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword ListLoad Str Str keyword BinOpAdd Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Return Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr UnaryOpUSub Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index NameLoad orelse If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd Str BinOpMod Str AttributeLoad NameLoad attr Raise Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign TupleStore NameStore NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Pass orelse If CompareNotIn NameLoad NameLoad body If CompareNotIn NameLoad NameLoad body Continue Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign TupleStore NameStore NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Assign SubscriptStore NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad orelse Assign SubscriptStore NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad AttributeLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A  OpenMDAO LinearSolver that explicitly solves the linear system using
linalg.solve or scipy LU factor/solve. Inherits from MultLinearSolver just
for the mult function. collections OrderedDict N/A numpy np scipy.linalg lu_factor lu_solve openmdao.solvers.solver_base MultLinearSolver DirectSolver N/A MultLinearSolver N/A N/A  OpenMDAO LinearSolver that explicitly solves the linear system using
    linalg.solve. The user can choose to have the jacobian assembled
    directly or through matrix-vector product.

    Options
    -------
    options['iprint'] :  int(0)
        Set to 0 to disable printing, set to 1 to print the residual to
        stdout each iteration, set to 2 to print subiteration residuals as
        well.
    options['mode'] :  str('auto')
        Derivative calculation mode, set to 'fwd' for forward mode, 'rev' for
        reverse mode, or 'auto' to let OpenMDAO determine the best mode.
    options['jacobian_method'] : str('MVP')
        Method to assemble the jacobian to solve. Select 'MVP' to build the
        Jacobian by calling apply_linear with columns of identity. Select
        'assemble' to build the Jacobian by taking the calculated Jacobians in
        each component and placing them directly into a clean identity matrix.
    options['solve_method'] : str('LU')
        Solution method, either 'solve' for linalg.solve, or 'LU' for
        linalg.lu_factor and linalg.lu_solve.
     __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super DirectSolver self __init__ N/A N/A N/A N/A self options remove_option err_on_maxiter N/A N/A N/A N/A self options add_option mode auto values N/A fwd rev auto desc N/A N/A Derivative calculation mode, set to 'fwd' for  forward mode, 'rev' for reverse mode, or 'auto' to  let OpenMDAO determine the best mode. lock_on_setup True N/A N/A N/A N/A self options add_option jacobian_method MVP values N/A MVP assemble desc N/A N/A N/A N/A N/A Method to assemble the jacobian to solve.  Select 'MVP' to build the Jacobian by calling  apply_linear with columns of identity. Select  'assemble' to build the Jacobian by taking the  calculated Jacobians in each component and placing  them directly into a clean identity matrix. N/A N/A N/A N/A self options add_option solve_method LU values N/A LU solve desc N/A Solution method, either 'solve' for linalg.solve,  or 'LU' for linalg.lu_factor and linalg.lu_solve. N/A N/A self jacobian None N/A N/A self lup None N/A N/A self mode None N/A N/A self icache N/A N/A setup N/A N/A self system N/A N/A N/A  Initialization. Allocate Jacobian and set up some helpers.

        Args
        ----
        system: `System`
            System that owns this solver.
         N/A N/A N/A N/A self options N/A jacobian_method MVP N/A N/A N/A u_vec N/A system unknowns N/A N/A self jacobian N/A N/A N/A np eye N/A N/A u_vec vec size N/A N/A self icache N/A N/A solve N/A N/A self rhs_mat system mode N/A N/A N/A  Solves the linear system for the problem in self.system. The
        full solution vector is returned.

        Args
        ----
        rhs_mat : dict of ndarray
            Dictionary containing one ndarry per top level quantity of
            interest. Each array contains the right-hand side for the linear
            solve.

        system : `System`
            Parent `System` object.

        mode : string
            Derivative mode, can be 'fwd' or 'rev'.

        Returns
        -------
        dict of ndarray : Solution vectors
         N/A N/A self system system N/A N/A N/A self mode None N/A N/A N/A self mode mode N/A sol_buf N/A OrderedDict N/A N/A voi rhs N/A N/A rhs_mat items N/A N/A N/A self voi None N/A N/A system _jacobian_changed N/A N/A N/A self jacobian N/A N/A self _assemble_jacobian rhs mode N/A N/A system _jacobian_changed False N/A N/A N/A N/A self options N/A solve_method LU N/A N/A N/A self lup N/A lu_factor N/A self jacobian N/A N/A N/A N/A self options N/A solve_method LU N/A N/A deriv N/A lu_solve N/A self lup rhs N/A N/A deriv N/A N/A N/A np linalg solve N/A self jacobian rhs N/A N/A self system None N/A N/A sol_buf N/A voi deriv N/A sol_buf N/A _assemble_jacobian N/A N/A self rhs mode N/A N/A N/A  Assemble Jacobian.

        Args
        ----
        rhs : ndarray
            An ndarray containomg the right-hand side for this linear
            solve.

        system : `System`
            Parent `System` object.

        mode : string
            Derivative mode, can be 'fwd' or 'rev'.

        Returns
        -------
        ndarray : Jacobian Matrix
         N/A system N/A self system N/A N/A N/A N/A self options N/A jacobian_method MVP N/A N/A N/A self mode mode N/A n_edge N/A len rhs N/A ident N/A N/A np eye n_edge N/A partials N/A N/A np empty N/A n_edge n_edge N/A i N/A range n_edge N/A N/A N/A partials N/A N/A N/A i N/A N/A self mult N/A ident N/A N/A N/A i N/A N/A N/A N/A self mode mode N/A N/A N/A N/A self setup system N/A N/A self mode mode N/A sys_name N/A N/A system name . N/A partials N/A self jacobian N/A u_vec N/A system unknowns N/A icache N/A self icache N/A conn N/A system connections N/A sys_prom_name N/A N/A system _sysdata to_prom_name N/A sub N/A N/A system components recurse True include_self True N/A N/A jac N/A sub _jacobian_cache N/A N/A jac None N/A N/A msg N/A The 'assemble' jacobian_method is not supported when  N/A 'apply_linear' is used on a component (%s). N/A sub pathname N/A N/A RuntimeError msg N/A sub_u N/A sub unknowns N/A sub_name N/A sub pathname N/A key jac N/A N/A N/A o_var i_var key N/A key2 N/A sub_name key N/A N/A key2 icache N/A N/A o_var_abs N/A N/A . join N/A sub_name o_var N/A i_var_abs N/A N/A . join N/A sub_name i_var N/A i_var_pro N/A sys_prom_name N/A i_var_abs N/A o_var_pro N/A sys_prom_name N/A o_var_abs N/A N/A i_var N/A sub states N/A N/A N/A N/A N/A i_var_pro u_vec N/A N/A N/A i_var_abs conn N/A N/A N/A i_var_src N/A N/A conn N/A i_var_abs N/A 0 N/A i_var_pro N/A sys_prom_name N/A i_var_src N/A N/A o_start o_end N/A N/A N/A u_vec _dat N/A o_var_pro slice N/A N/A i_start i_end N/A N/A N/A u_vec _dat N/A i_var_pro slice N/A N/A icache N/A key2 N/A o_start o_end i_start i_end N/A N/A N/A o_start o_end i_start i_end N/A icache N/A key2 N/A N/A mode fwd N/A N/A N/A partials N/A N/A o_start o_end N/A i_start i_end N/A jac N/A N/A o_var i_var N/A N/A N/A partials N/A N/A i_start i_end N/A o_start o_end N/A N/A jac N/A N/A o_var i_var T N/A partials N/A N/A