« GPIntegrator » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « == How to call it == For using the [{{CurrentServer}}/uploads/JavaDocs/V2.1/fr/cnes/genopus/math/GPIntegrator.html GPIntegrator] class, the developer has only to create s... ») |
|||
Ligne 9 : | Ligne 9 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
In that case, all the possible integrators will be | In that case, all the possible integrators will be displayed (i.e. <font color=#FF8C00>Runge Kutta 4</font>, <font color=#FF8C00>Runge Kutta 6</font> and <font color=#FF8C00>Dormand Price 853</font>) | ||
* Or, if we want to limit the display to some of these integrators (in the example below, only <font color=#FF8C00>Runge Kutta 4</font> and <font color=#FF8C00>Dormand Price 853</font>) and choose the one initially displayes (here the <font color=#FF8C00>Dormand Price 853</font> one): | * Or, if we want to limit the display to some of these integrators (in the example below, only <font color=#FF8C00>Runge Kutta 4</font> and <font color=#FF8C00>Dormand Price 853</font>) and choose the one initially displayes (here the <font color=#FF8C00>Dormand Price 853</font> one): |
Version du 31 octobre 2019 à 11:34
How to call it
For using the GPIntegrator class, the developer has only to create such an object with these two possibilities:
- With no initialization:
GPIntegrator gpInteg = new GPIntegrator();
In that case, all the possible integrators will be displayed (i.e. Runge Kutta 4, Runge Kutta 6 and Dormand Price 853)
- Or, if we want to limit the display to some of these integrators (in the example below, only Runge Kutta 4 and Dormand Price 853) and choose the one initially displayes (here the Dormand Price 853 one):
final IntegratorTypeEnum[] types = { IntegratorTypeEnum.RK4, IntegratorTypeEnum.DOP };
GPIntegrator gpInteg = new GPIntegrator(types, IntegratorTypeEnum.DOP);