Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
convergence_table.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 2018 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of deal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef dealii_convergence_table_h
17 #define dealii_convergence_table_h
18 
19 
20 #include <deal.II/base/config.h>
21 
23 
25 
26 
64 {
65 public:
69  ConvergenceTable() = default;
70 
74  enum RateMode
75  {
89  };
90 
133  void
134  evaluate_convergence_rates(const std::string &data_column_key,
135  const std::string &reference_column_key,
136  const RateMode rate_mode,
137  const unsigned int dim = 2);
138 
139 
156  void
157  evaluate_convergence_rates(const std::string &data_column_key,
158  const RateMode rate_mode);
159 
167  void
168  omit_column_from_convergence_rate_evaluation(const std::string &key);
169 
184  void
185  evaluate_all_convergence_rates(const std::string &reference_column_key,
186  const RateMode rate_mode);
187 
201  void
202  evaluate_all_convergence_rates(const RateMode rate_mode);
203 
213  std::string,
214  << "Rate column <" << arg1 << "> does already exist.");
216 };
217 
218 
220 
221 #endif
ConvergenceTable::reduction_rate_log2
@ reduction_rate_log2
Definition: convergence_table.h:88
ConvergenceTable::none
@ none
Definition: convergence_table.h:79
ConvergenceTable::evaluate_convergence_rates
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)
Definition: convergence_table.cc:23
ConvergenceTable::RateMode
RateMode
Definition: convergence_table.h:74
DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_OPEN
Definition: config.h:358
ConvergenceTable::reduction_rate
@ reduction_rate
Definition: convergence_table.h:83
DeclException1
#define DeclException1(Exception1, type1, outsequence)
Definition: exceptions.h:518
ConvergenceTable::ConvergenceTable
ConvergenceTable()=default
table_handler.h
config.h
ConvergenceTable::omit_column_from_convergence_rate_evaluation
void omit_column_from_convergence_rate_evaluation(const std::string &key)
Definition: convergence_table.cc:218
DEAL_II_NAMESPACE_CLOSE
#define DEAL_II_NAMESPACE_CLOSE
Definition: config.h:359
TableHandler
Definition: table_handler.h:293
ConvergenceTable::evaluate_all_convergence_rates
void evaluate_all_convergence_rates(const std::string &reference_column_key, const RateMode rate_mode)
Definition: convergence_table.cc:230
ConvergenceTable
Definition: convergence_table.h:63
ConvergenceTable::ExcRateColumnAlreadyExists
static ::ExceptionBase & ExcRateColumnAlreadyExists(std::string arg1)