12 #define BOOST_ALLOW_DEPRECATED_HEADERS
23 MainOutputTable::format()
25 set_precision(
"L2", 2);
26 set_precision(
"H1", 2);
28 set_scientific(
"L2",
true);
29 set_scientific(
"H1",
true);
32 evaluate_convergence_rates(
33 "L2",
"ncells", ConvergenceTable::reduction_rate_log2, dimensions);
34 evaluate_convergence_rates(
35 "H1",
"ncells", ConvergenceTable::reduction_rate_log2, dimensions);
37 set_tex_caption(
"p",
"p");
38 set_tex_caption(
"r",
"r");
39 set_tex_caption(
"ncells",
"nr. cells");
40 set_tex_caption(
"ndofs",
"nr. dofs");
41 set_tex_caption(
"L2",
"L2 norm");
42 set_tex_caption(
"H1",
"H1 norm");
44 set_column_order(new_order);
48 MainOutputTable::save(std::string fname)
52 std::cout <<
"--------------------------------------------\n";
53 write_text(std::cout);
58 std::ofstream ofs(fname +
".txt");
63 std::ofstream ofs(fname +
".tex");