FLINT 0.9.9
Fortran Library for numerical INTegration of differential equations
|
Interface for the Initializaition method. It must be called before Integration. More...
Public Member Functions | |
subroutine | init (me, de, maxsteps, method, atol, rtol, interpon, interpstates, minstepsize, maxstepsize, stepszparams, eventson, eventstepsz, eventoptions, eventtol) |
Interface for the Initializaition method. It must be called before Integration.
Definition at line 318 of file FLINT_base.f90.
|
virtual |
[in,out] | me | Object |
de | Differential Equation system object | |
[in] | maxsteps | Must specify max no. of steps The implementation can use this number to decide how and how much to allocate internal storage for storing integrator natural steps as well as the interpolation coefficients for delayed interpolation. |
[in] | method | Type of Intergrator to use. Implemented methods are:
|
[in] | atol | Absolute tolerance, size must be either 1 or n |
[in] | rtol | Relative tolerance, size must be either 1 or n |
[in] | interpon | If true, then the interpolation coefficients along with integrator natural steps are computed and stored internally. User can use Interpolate method to compute solutions at any value of the indepedent variable without doing the actual integrating again. Note that if InterpOn is true, then IntStepsOn option of Integrate must be either omitted or set to false. |
[in] | interpstates | Specify the interpolation states for which the interpolation coefficients will be computed and stored, e.g. [1,3,4,6,n]. |
[in] | minstepsize | User can specify minimum and maximum step sizes allowed. Note that these are positive quantities. Sign will be handled bu FLINT. |
[in] | maxstepsize | User can specify minimum and maximum step sizes allowed. Note that these are positive quantities. Sign will be handled bu FLINT. |
[in] | stepszparams | Step-size computation specific parameters. User can specify these for a specific step-size computation method, otherwise defaults are used. For Hairer's DOPRI5/DOP853 codes:
|
[in] | eventson | Set true for events detection |
[in] | eventstepsz | If events detection is enabled, then user can specify the maximum interval after which events must be checked. If there are even number of sign changes between X and X+EventStepSz, that event cannot be detected. If EventStepSz is not specified, then events are always checked at the integrator's natural steps. Note that these are positive quantities and FLINT will take care of the appropriate sign based on the direction of integration. |
[in] | eventoptions | Event Options that control the event information returned by FLINT Default is FLINT_EVENTOPTION_ROOTFINDING. |
[in] | eventtol | Event tolerance values used for root-finding if enabled, size must be m |
Definition at line 318 of file FLINT_base.f90.
References flint_base::flint_eventoption_rootfinding.