SimpleMDF

class kona.examples.SimpleMDF(num_disc=5, init_x=5.0)[source]

Bases: kona.user.user_solver.UserSolver

eval_dFdU(at_design, at_state, store_here)[source]
eval_dFdX(at_design, at_state)[source]
eval_obj(at_design, at_state)[source]
eval_residual(at_design, at_state, store_here)[source]
init_design()[source]
multiply_dRdU(at_design, at_state, in_vec, out_vec)[source]
multiply_dRdU_T(at_design, at_state, in_vec, out_vec)[source]
multiply_dRdX(at_design, at_state, in_vec, out_vec)[source]
multiply_dRdX_T(at_design, at_state, in_vec)[source]
solve_adjoint(at_design, at_state, rhs_vec, rel_tol, result)[source]
solve_linear(at_design, at_state, rhs_vec, rel_tol, result)[source]
solve_nonlinear(at_design, result)[source]

SimpleIDF

class kona.examples.SimpleIDF(num_disc=5, init_x=5.0, approx_inv=True)[source]

Bases: kona.user.user_solver.UserSolverIDF

apply_precond(at_design, at_state, in_vec, out_vec)[source]
apply_precond_T(at_design, at_state, in_vec, out_vec)[source]
eval_dFdU(at_design, at_state, store_here)[source]
eval_dFdX(at_design, at_state)[source]
eval_eq_cnstr(at_design, at_state)[source]
eval_obj(at_design, at_state)[source]
eval_residual(at_design, at_state, store_here)[source]
init_design()[source]
multiply_dCEQdU(at_design, at_state, in_vec)[source]
multiply_dCEQdU_T(at_design, at_state, in_vec, out_vec)[source]
multiply_dCEQdX(at_design, at_state, in_vec)[source]
multiply_dCEQdX_T(at_design, at_state, in_vec)[source]
multiply_dRdU(at_design, at_state, in_vec, out_vec)[source]
multiply_dRdU_T(at_design, at_state, in_vec, out_vec)[source]
multiply_dRdX(at_design, at_state, in_vec, out_vec)[source]
multiply_dRdX_T(at_design, at_state, in_vec)[source]
solve_adjoint(at_design, at_state, rhs_vec, rel_tol, result)[source]
solve_linear(at_design, at_state, rhs_vec, rel_tol, result)[source]
solve_nonlinear(at_design, result)[source]