HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
|
Functions | |
parse_timehistory_file (filename) | |
select_time_points (data, n_points=5) | |
generate_latex_table (metadata, selected_data, output_filename='error_table.tex') | |
main () | |
LaTeX Error Table Generator for HHO-NSA Simulation Data This script generates a LaTeX table showing error norms at 6 equally distributed time points. Usage: python3 latex_table_generator.py timehistory_file.txt
generate_table.generate_latex_table | ( | metadata, | |
selected_data, | |||
output_filename = 'error_table.tex' |
|||
) |
Generate a LaTeX table with error norms at selected time points.
generate_table.main | ( | ) |
Main function to generate LaTeX table from time history file.
generate_table.parse_timehistory_file | ( | filename | ) |
Parse time history file and extract time and error data.
generate_table.select_time_points | ( | data, | |
n_points = 5 |
|||
) |
Select n equally distributed time points from the data.