[ot-users] How to define a gradient implementation (for FORM analysis) ?

Julien Schueller schueller at phimeca.com
Fri Jan 31 09:45:43 CET 2014

----- Mail original -----
> De: "jerome de-lauzon" <jerome.de-lauzon at bureauveritas.com>
> À: users at openturns.org
> Envoyé: Jeudi 30 Janvier 2014 11:13:29
> Objet: [ot-users] How to define a gradient implementation (for FORM	analysis) ?
> I want to perform a FORM analysis with a NumericalMathFunction I've defined
> using a python function (derived from the OpenTURNSPythonFunction, as
> explained in user manual). In my case, it is a polynomial function.
> When I run the analysis, I get the following warning message:
> WRN - You are using a default implementation for the gradient. Be careful,
> your computation can be severely wrong!
> Does anyone know if it is possible to define a gradient implementation using
> a python function ?


It's not possible yet,
you can use analytical function implementation to get an automatically derived fonction, e.g.

limitState = ot.NumericalMathFunction(['R', 'F'], ['G'], ['R-F/(_pi*100.0)'])

Julien Schueller
Ingénieur d'Études
Télephone : 04 73 28 93 66

Phimeca Engineering
Centre d'Affaires du Zénith
34 rue de Sarliève
63800 Cournon d'Auvergne

More information about the users mailing list