run_once.py¶
The RunOnce solver just performs solve_nonlinear on the system hierarchy with no iteration.
-
class
openmdao.solvers.run_once.
RunOnce
[source]¶ Bases:
openmdao.solvers.solver_base.NonLinearSolver
The RunOnce solver just performs solve_nonlinear on the system hierarchy with no iteration.
Options: options[‘iprint’] : int(0)
Set to 0 to print only failures, set to 1 to print iteration totals to stdout, set to 2 to print the residual each iteration to stdout, or -1 to suppress all printing.
-
solve
(driver, params, unknowns, resids, system, metadata)[source]¶ Executes each item in the system hierarchy sequentially.
Args: params : VecWrapper
VecWrapper containing parameters. (p)
unknowns : VecWrapper
VecWrapper containing outputs and states. (u)
resids : VecWrapper
VecWrapper containing residuals. (r)
system : System
Parent System object.
-