num::operators::backward_euler_2d¶
Defined in header <pde/grid_operators.hpp>
class backward_euler_2d final;
Backward Euler operator applied without storing a matrix: \(y \leftarrow (I - c\,\Delta_h) x\).
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 |
Return the operator as a sparse matrix. |