indep_var_comp.py¶
OpenMDAO class definition for IndepVarComp
-
class
openmdao.components.indep_var_comp.
IndepVarComp
(name, val=None, **kwargs)[source]¶ Bases:
openmdao.core.component.Component
A Component that provides an output to connect to a parameter.
Options: fd_options[‘force_fd’] : bool(False)
Set to True to finite difference this system.
fd_options[‘form’] : str(‘forward’)
Finite difference mode. (forward, backward, central) You can also set to ‘complex_step’ to peform the complex step method if your components support it.
fd_options[‘step_size’] : float(1e-06)
Default finite difference stepsize
fd_options[‘step_type’] : str(‘absolute’)
Set to absolute, relative
fd_options[‘extra_check_partials_form’] : None or str
Finite difference mode: (“forward”, “backward”, “central”, “complex_step”) During check_partial_derivatives, you can optionally do a second finite difference with a different mode.
fd_options[‘linearize’] : bool(False)
Set to True if you want linearize to be called even though you are using FD.