diff --git a/stuff/misc.hh b/stuff/misc.hh index a476f549dd7df8475ec285ef3fc9ef2644c6521a..3f32941de8f04c89b1fb37caf7853977017ab7bc 100644 --- a/stuff/misc.hh +++ b/stuff/misc.hh @@ -130,6 +130,7 @@ struct RunInfo int iterations_outer_total; double max_inner_accuracy; std::string problemIdentifier; + double current_time, delta_t; RunInfo() { @@ -138,10 +139,19 @@ struct RunInfo bfg = true; bfg_tau = max_inner_accuracy = grid_width = solver_accuracy = run_time = inner_solver_accuracy = -1.0; gridname = problemIdentifier = "UNSET"; - extra_info = ""; + extra_info = ""; + delta_t = 0.1; + current_time = 0.0; } }; +//! used in all runs to store L2 errors across runs +typedef std::vector<RunInfo> RunInfoVector; + +typedef unsigned int RunInfoVectorMapKeyType; + +typedef std::map<RunInfoVectorMapKeyType, RunInfoVector> RunInfoVectorMap; + #include <dune/common/misc.hh> namespace Stuff {