|
1D Heat Equation Solver 1.0
Computational Methods Assignment 2025
|
| include | |
| methods | |
| analytical.hpp | |
| crank_nicolson.hpp | |
| dufort_frankel.hpp | DuFort–Frankel explicit method (3-level scheme) |
| laasonen.hpp | |
| richardson.hpp | Richardson explicit (central time - central space) scheme for the 1D heat equation |
| grid.hpp | Uniform 1D spatial grid |
| io.hpp | CSV utilities |
| method.hpp | |
| solver.hpp | High-level solver orchestrating BCs and time integration |
| types.hpp | Basic physical and numerical parameter types for the 1D heat problem |
| user_input.h | Utility functions for safe user input from the console |
| src | |
| methods | |
| analytical.cpp | |
| crank_nicolson.cpp | Implementation of the Crank-Nicolson scheme using the Thomas Algorithm |
| dufort_frankel.cpp | |
| laasonen.cpp | |
| richardson.cpp | Richardson explicit scheme implementation |
| grid.cpp | Implementation of the uniform 1D grid and its validator |
| io.cpp | |
| main.cpp | Test driver for the 1D heat conduction solver. Supports DuFort-Frankel, Richardson, Laasonen, and Crank-Nicolson schemes |
| method.cpp | Factory implementation for numerical schemes |
| solver.cpp | Time-marching driver for the 1D heat equation |
| user_input.cpp |