Skip to content

num::operators::backward_euler_2d

Defined in header <pde/grid_operators.hpp>

class backward_euler_2d final;

mat-free 2D Backward Euler operator \(I - \text{coeff} \cdot \nabla^2\) with spmat materialization.

Members

member description
using domain_type = vec<real>
using codomain_type = vec<real>
using laws = law::list<law::spd>
backward_euler_2d(int N, double coeff)
void apply(const vec<real> &x, vec<real> &y) const
idx rows() const noexcept
idx cols() const noexcept
int N() const noexcept
double coeff() const noexcept
spmat to_sparse() const Materialize the Backward Euler system matrix as an assembled CSR spmat.