external_code.py

class openmdao.components.external_code.ExternalCode[source]

Bases: openmdao.core.component.Component

Run an external code as a component

Default stdin is the ‘null’ device, default stdout is the console, and default stderr is error.out.

check_setup(out_stream=<open file '<stdout>', mode 'w'>)[source]

Write a report to the given stream indicating any potential problems found with the current configuration of this Problem.

Args:out_stream : a file-like object, optional
solve_nonlinear(params, unknowns, resids)[source]

Runs the component