FLINT 0.9.9
Fortran Library for numerical INTegration of differential equations
Loading...
Searching...
No Matches
flint_base::interpolate Interface Reference

Method for delayed interpolation. It must be called after at least one invocation of the Init and Integrate method with the InterpOn option enabled. It can be called by the user any number of times with different points at which the solution is sought. FLINT computes the interpolation coefficients during integration and stores them internally at each natural step of the integrator. During interpolation, these coefficients are used to compute the solutions quickly. This is much less computationally intensive than using the Integrate method. More...

+ Collaboration diagram for flint_base::interpolate:

Public Member Functions

subroutine interpolate (me, xarr, yarr, saveinterpcoeffs)
 

Detailed Description

Method for delayed interpolation. It must be called after at least one invocation of the Init and Integrate method with the InterpOn option enabled. It can be called by the user any number of times with different points at which the solution is sought. FLINT computes the interpolation coefficients during integration and stores them internally at each natural step of the integrator. During interpolation, these coefficients are used to compute the solutions quickly. This is much less computationally intensive than using the Integrate method.

Definition at line 479 of file FLINT_base.f90.

Constructor & Destructor Documentation

◆ interpolate()

subroutine flint_base::interpolate::interpolate ( class(flint_class), intent(inout) me,
real(wp), dimension(1:), intent(in) xarr,
real(wp), dimension(size(me%interpstates),size(xarr)), intent(out) yarr,
logical, intent(in), optional saveinterpcoeffs )
virtual
Parameters
[in,out]meObject of class type FLINT
[in]xarrXarr is provided by the user with values of the independent variable at which the solution is sought. Xarr must be in ascending order and the min and max values must not be smaller and larger than X0 and Xf, respectively.
[out]yarrYarr provides the solution at each point specified in Xarr.
[in]saveinterpcoeffsIf SaveInterpCoeffs=False, then the internal memory which stores interpolation coefficients is freed. After that, Interpolate function can not be called again without calling Integrate first. By default, SaveInterpCoeffs=False. In order to be able to call Interpolate again, user must set it to Trueat for every call to Interpolate.

Definition at line 479 of file FLINT_base.f90.


The documentation for this interface was generated from the following file: