Controller

Controller

new Controller(parameters, driver)

Description:
  • Implements an iterative driver mechanism.

Parameters:
Name Type Description
parameters Array.<Numeric>

A ``std::vector` with the solver parameters.

driver Driver

The driver function to iterate on.

Methods

iterate(values, loopopt) → {bool}

Description:
  • Incrementally locally iterates the driver with respect to the given parameter values.

Parameters:
Name Type Attributes Default Description
values Array.<double>

The desired parameter values.

  • On input: the a-priori desired parameter values.
  • On ouput: the a-posteri obtained parameter values.
loop unit <optional>
0

Maximal number of iteration, 0 means unbounded.

Returns:

True if the iteration has converged, false if it failed.

Type
bool