Reference documentation for deal.II version 9.0.0
convergence_table.h
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 1999 - 2017 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 at
12 // the top level of the deal.II distribution.
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 #include <deal.II/base/table_handler.h>
22 
23 DEAL_II_NAMESPACE_OPEN
24 
25 
63 {
64 public:
68  ConvergenceTable() = default;
69 
73  enum RateMode
74  {
88  };
89 
132  void
133  evaluate_convergence_rates (const std::string &data_column_key,
134  const std::string &reference_column_key,
135  const RateMode rate_mode,
136  const unsigned int dim = 2);
137 
138 
155  void
156  evaluate_convergence_rates (const std::string &data_column_key,
157  const RateMode rate_mode);
158 
166  void
167  omit_column_from_convergence_rate_evaluation(const std::string &key);
168 
183  void
184  evaluate_all_convergence_rates(const std::string &reference_column_key,
185  const RateMode rate_mode);
186 
200  void
201  evaluate_all_convergence_rates(const RateMode rate_mode);
202 
212  std::string,
213  << "Rate column <" << arg1 << "> does already exist.");
215 };
216 
217 
218 DEAL_II_NAMESPACE_CLOSE
219 
220 #endif
static ::ExceptionBase & ExcRateColumnAlreadyExists(std::string arg1)
ConvergenceTable()=default
void omit_column_from_convergence_rate_evaluation(const std::string &key)
void evaluate_all_convergence_rates(const std::string &reference_column_key, const RateMode rate_mode)
#define DeclException1(Exception1, type1, outsequence)
Definition: exceptions.h:346
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)