param_comp.py¶
OpenMDAO class definition for ParamComp
-
class
openmdao.components.param_comp.
ParamComp
(name, val=None, **kwargs)[source]¶ Bases:
openmdao.core.component.Component
A Component that provides an output to connect to a parameter.
-
apply_linear
(mode, ls_inputs=None, vois=(None, ))[source]¶ For ParamComp, just pass on the incoming values.
Args: mode : string
Derivative mode, can be ‘fwd’ or ‘rev’.
ls_inputs : dict
We can only solve derivatives for the inputs the instigating system has access to. (Not used here.)
vois: list of strings
List of all quantities of interest to key into the mats.
-