14 std::string
name()
const override
22 const std::vector<double>& Tprev,
23 const std::vector<double>& Tcurr,
24 std::vector<double>& Tnext)
const override;
Laasonen implicit method (Backward Euler in time + Central in space). Unconditionally stable for the ...
bool uses_previous_step() const noexcept override
Indicates if the scheme requires data from time step n-1.
void step(const Grid &g, double D, double dt, const std::vector< double > &Tprev, const std::vector< double > &Tcurr, std::vector< double > &Tnext) const override
Computes the temperature field at the next time step (T^{n+1}).
std::string name() const override
Get human-readable name of the scheme.
Abstract interface for time-integration schemes solving the 1D heat equation.
Uniform 1D grid on x ∈ [0, L], including both boundary nodes.