27 const unsigned int dim)
33 if (rate_mode ==
none)
45 const unsigned int n = entries.
size();
49 std::vector<double> values(n);
52 for (
unsigned int i = 0; i < n; ++i)
54 values[i] = entries[i].get_numeric_value();
64 rate_key +=
"red.rate";
83 rate_key +=
"red.rate.log2";
96 dim *
std::log(std::fabs(values[i - 1] / values[i])) /
139 const unsigned int n = entries.
size();
141 std::vector<double> values(n);
142 for (
unsigned int i = 0; i < n; ++i)
143 values[i] = entries[i].get_numeric_value();
153 rate_key +=
"red.rate";
165 add_value(rate_key, values[i - 1] / values[i]);
171 rate_key +=
"red.rate.log2";
184 std::log(std::fabs(values[i - 1] / values[i])) /
219 const std::string &
key)
void evaluate_all_convergence_rates(const std::string &reference_column_key, const RateMode rate_mode)
void evaluate_convergence_rates(const std::string &data_column_key, const std::string &reference_column_key, const RateMode rate_mode, const unsigned int dim=2)
void omit_column_from_convergence_rate_evaluation(const std::string &key)
void set_tex_supercaption(const std::string &superkey, const std::string &tex_supercaption)
void set_auto_fill_mode(const bool state)
void add_value(const std::string &key, const T value)
std::map< std::string, std::vector< std::string > > supercolumns
void add_column_to_supercolumn(const std::string &key, const std::string &superkey)
void set_precision(const std::string &key, const unsigned int precision)
std::map< std::string, Column > columns
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcColumnNotExistent(std::string arg1)
static ::ExceptionBase & ExcNotImplemented()
#define Assert(cond, exc)
static ::ExceptionBase & ExcInternalError()
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
#define AssertThrow(cond, exc)
::VectorizedArray< Number, width > log(const ::VectorizedArray< Number, width > &)