NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ bd_weights()

template<typename T = double>
T integration::Integrator< T >::bd_weights ( int  l)
inline

Returns the the backwards differencing coefficients.

Purpose

Backward differentiation formula of order \(k+1\) is given by

\begin{align*} \frac{d}{d x}f(x)\big|_{x_i} = \frac{1}{h}\sum^{k+1}_{l=0} c_l\, f(x_{i-l}) \end{align*}

The weights are related to the poly_differentiation weights.

bd_weights returns the coefficient \(c_l\) for given \(l\).

Parameters
l

Index of weight.

Definition at line 346 of file integration.hpp.

346 {return bd_weights_[l];}