iwopy.wrappers.LocalFD(base_problem, deltas, fd_order=1, fd_bounds_order=None, name=None)[source]

Constructor

ParametersΒΆ

base_problem: iwopy.Problem

The underlying concrete problem

deltas: dict

The step sizes. Key: variable name str, Value: step size. Will be adjusted to the variable bounds if necessary.

fd_order: dict or int

Finite difference order. Either a dict with key: variable name str, value: order int, or a global integer order for all variables. 1 = forward, -1 = backward, 2 = centre

fd_bounds_order: dict or int

Finite difference order of boundary points. Either a dict with key: variable name str, value: order int, or a global integer order for all variables. Default is same as fd_order

name: str, optional

The problem name