From 346afb5fcea23dbde8e32e5161be12c7ea45e332 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Wed, 10 Apr 2019 01:15:50 +0200 Subject: [PATCH] ParsedConvergenceTable, parameters output --- tests/base/parsed_convergence_table_02.cc | 33 +++++++++++++++++++ tests/base/parsed_convergence_table_02.output | 8 +++++ 2 files changed, 41 insertions(+) create mode 100644 tests/base/parsed_convergence_table_02.cc create mode 100644 tests/base/parsed_convergence_table_02.output diff --git a/tests/base/parsed_convergence_table_02.cc b/tests/base/parsed_convergence_table_02.cc new file mode 100644 index 0000000000..e0d8c61e17 --- /dev/null +++ b/tests/base/parsed_convergence_table_02.cc @@ -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 + +#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 index 0000000000..561d926930 --- /dev/null +++ b/tests/base/parsed_convergence_table_02.output @@ -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 -- 2.39.5