|
1D Heat Equation Solver 1.0
Computational Methods Assignment 2025
|


Go to the source code of this file.
Classes | |
| class | Method |
| Abstract interface for time-integration schemes solving the 1D heat equation. More... | |
Enumerations | |
| enum class | SchemeKind { Richardson , DuFortFrankel , Laasonen , CrankNicolson } |
| Enumeration of the numerical schemes available in the solver. More... | |
Functions | |
| std::unique_ptr< Method > | make_method (SchemeKind scheme) |
| Factory function to create a concrete method instance. | |
|
strong |
Enumeration of the numerical schemes available in the solver.
| Enumerator | |
|---|---|
| Richardson | Central time, central space (explicit, unstable). |
| DuFortFrankel | Modified Richardson (explicit, stable). |
| Laasonen | Simple Implicit (forward time, central space). |
| CrankNicolson | Trapezoidal Implicit (second order accuracy). |
Definition at line 12 of file method.hpp.
| std::unique_ptr< Method > make_method | ( | SchemeKind | scheme | ) |
Factory function to create a concrete method instance.
| scheme | The type of numerical scheme requested. |
Factory function to create a concrete method instance.
| scheme | Identifier of the requested scheme. |
| std::invalid_argument | if the scheme is not supported. |
Definition at line 27 of file method.cpp.
