gemseo / core / mdofunctions

Hide inherited members

set_pt_from_database module

A function searching for the output and Jacobian values in a database.

class gemseo.core.mdofunctions.set_pt_from_database.SetPtFromDatabase(database, design_space, mdo_function, normalize=False, jac=True, x_tolerance=1e-10)[source]

Bases: object

Set a function and Jacobian from a database.

  • database (Database) – The database to read.

  • design_space (DesignSpace) – The design space used for normalization.

  • mdo_function (MDOFunction) – The function where the data from the database will be set.

  • normalize (bool) –

    If True, the values of the inputs are unnormalized before call.

    By default it is set to False.

  • jac (bool) –

    If True, a Jacobian pointer is also generated.

    By default it is set to True.

  • x_tolerance (float) –

    The tolerance on the distance between inputs.

    By default it is set to 1e-10.

property expects_normalized_inputs: bool

Whether to normalize.