NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ extrapolate_timestep() [2/2]

template<typename T >
void cntr::extrapolate_timestep ( int  n,
function< T > &  f,
int  ExtrapolationOrder 
)

k-th order polynomial extrapolation to t=n+1 of the contour function.

Purpose

k-th order polynomial extrapolation to t=n+1 of the contour function. Information at times t=n,n-1,,,,n-k is used.

Parameters
n

t=n+1 data is obtained by the extrapolation.

f

the contour function to be extrapolated.

ExtrapolationOrder

Order of extrapolation

Definition at line 270 of file cntr_utilities_impl.hpp.

References cntr::function< T >::size1().

270  {
271  if (f.size1() == 1)
272  extrapolate_timestep_dispatch<T, 1>(n, f, integration::I<T>(ExtrapolationOrder));
273  else
274  extrapolate_timestep_dispatch<T, LARGESIZE>(n, f, integration::I<T>(ExtrapolationOrder));
275 }
+ Here is the call graph for this function: