]> https://gitweb.dealii.org/ - dealii.git/commitdiff
ParsedConvergenceTable, parameters output
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 9 Apr 2019 23:15:50 +0000 (01:15 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 30 Apr 2019 15:45:34 +0000 (17:45 +0200)
tests/base/parsed_convergence_table_02.cc [new file with mode: 0644]
tests/base/parsed_convergence_table_02.output [new file with mode: 0644]

diff --git a/tests/base/parsed_convergence_table_02.cc b/tests/base/parsed_convergence_table_02.cc
new file mode 100644 (file)
index 0000000..e0d8c61
--- /dev/null
@@ -0,0 +1,33 @@
+// ---------------------------------------------------------------------
+//
+// Copyright (C) 2019 by the deal.II authors
+//
+// This file is part of the deal.II library.
+//
+// The deal.II library is free software; you can use it, redistribute
+// it, and/or modify it under the terms of the GNU Lesser General
+// Public License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// The full text of the license can be found in the file LICENSE.md at
+// the top level directory of deal.II.
+//
+// ---------------------------------------------------------------------
+
+// Output standard parameters for ParsedConvergenceTable class
+
+#include <deal.II/base/parsed_convergence_table.h>
+
+#include "../tests.h"
+
+int
+main()
+{
+  initlog();
+
+  ParsedConvergenceTable table;
+
+  ParameterHandler prm;
+  table.add_parameters(prm);
+
+  prm.log_parameters(deallog);
+}
diff --git a/tests/base/parsed_convergence_table_02.output b/tests/base/parsed_convergence_table_02.output
new file mode 100644 (file)
index 0000000..561d926
--- /dev/null
@@ -0,0 +1,8 @@
+
+DEAL:parameters::Enable computation of the errors: true
+DEAL:parameters::Enable output to streams: true
+DEAL:parameters::Error file name: 
+DEAL:parameters::Error precision: 3
+DEAL:parameters::Extra columns: dofs, cells
+DEAL:parameters::List of error norms to compute: Linfty, L2, H1
+DEAL:parameters::Rate key: dofs

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.