num::pde::backward_euler_matrix¶
Defined in header <pde/diffusion.hpp>
spmat backward_euler_matrix(int N, double coeff); // (1)
spmat backward_euler_matrix(const grid2d &grid, double coeff); // (2)
Materialize the 2D Backward Euler system matrix as an assembled CSR spmat.