10 "| |__ _ _ _ __ ___ _ __ ___ (_)_ __ __ _| |__ (_)_ __ __| |\n"
11 "| '_ \\| | | | '_ ` _ \\| '_ ` _ \\| | '_ \\ / _` | '_ \\| | '__/ _` |\n"
12 "| | | | |_| | | | | | | | | | | | | | | | (_| | |_) | | | | (_| |\n"
13 "|_| |_|\\__,_|_| |_| |_|_| |_| |_|_|_| |_|\\__, |_.__/|_|_| \\__,_|\n"
18 " Description | Spectral Elements for Radiation Transport \n"
19 " Copyright | 2026, Liam Pohlmann\n"
21 "https://github.com/lipohlmann/hummingbird/blob/main/LICENSE\n\n");
25 " k-eff Iter. k-eff k-eff Error | Scatter Iter. "
26 "Flux Error Relative Err.\n"
27 " ============= ============= ============= | ============= "
28 "============= =============\n");
31 fmt::print(
" Input file | {}\n", input);
32 fmt::print(
" Mesh file | {}\n\n", mesh);
36 const unsigned int iter) {
38 fmt::print(
" {:^13} {:^13.5e} {:^13.5e} |\n", iter, k_eff, error);
40 fmt::print(
" {:^13} {:^13.5f} {:^13} |\n", iter, k_eff,
"-");
44 const double relative_error,
45 const unsigned int iter) {
49 "{:^13.5e} {:^13.5e}\n",
50 iter, flux_l2_error, relative_error);
55 iter, flux_l2_error,
"-");
61 "------------------------------------------------------------------------"
64 fmt::print(
"Source iterations complete.\n\n");
67 const unsigned int dimension) {
70 " Number of nodes: {}\n"
71 " Number of elements: {}\n"
73 n_nodes, n_elements, dimension);
RunMode
Run modes available.
void print_input_files(const std::string input, const std::string mesh)
Print the paths of the input and mesh files being used.
void print_scatter_status(const double flux_l2_error, const double relative_error, const unsigned int iter)
Print the scalar flux convergence status for the current source iteration.
void print_scatter_complete(const double final_k_eff, const RunMode sim_typ)
Print a message indicating source iterations have completed.
void print_k_status(const double k_eff, const double error, const unsigned int iter)
Print the k-eff status for the current iteration.
void print_header()
Print the program banner, description, and license information.
void print_mesh_info(const size_t n_nodes, const size_t n_elements, const unsigned int dimension)
Print information about the mesh.
void print_columns()
Print the column headers for the k-eff/scatter iteration status table.