iwopy.wrappers.DiscretizeRegGrid(base_problem, deltas, fd_order=1, fd_bounds_order=1, mem_size=1000, name=None, **dpars)[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

mem_size: int, optional

The memory size, default no memory

name: str, optional

The problem name

dpars: dict, optional

Additional parameters for RegularDiscretizationGrid