Skip to content

num::pde::backward_euler_operator

Defined in header <pde/diffusion.hpp>

backward_euler_operator_2d backward_euler_operator(int N, double coeff);  // (1)

backward_euler_operator_2d backward_euler_operator(const grid2d &grid, double coeff);  // (2)

The backward Euler operator \(I - c\,\Delta_h\) on an \(N \times N\) grid.