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

Go to the source code of this file.
Functions | |
| void | save_profile_csv (const std::string &path, const std::vector< double > &x, const std::vector< double > &T) |
| Save a temperature profile (x, T) to a CSV file. | |
| void save_profile_csv | ( | const std::string & | path, |
| const std::vector< double > & | x, | ||
| const std::vector< double > & | T ) |
Save a temperature profile (x, T) to a CSV file.
This function automatically creates the directory structure if missing. Example output path: "result/dufort_frankel/t_0.10.csv"
| path | Relative or absolute path to the file. |
| x | Spatial coordinates [cm]. |
| T | Temperature values [°C]. |
Definition at line 20 of file io.cpp.
