From 9d813256a1d4ca2191cdb24f47e109c984d40b7f Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 6 Dec 2010 02:08:23 +0000 Subject: [PATCH] Avoid output to the screen. git-svn-id: https://svn.dealii.org/trunk@22925 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/codim_one/gradients_1.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/codim_one/gradients_1.cc b/tests/codim_one/gradients_1.cc index 2bfcf29590..9a38dadbfa 100644 --- a/tests/codim_one/gradients_1.cc +++ b/tests/codim_one/gradients_1.cc @@ -54,7 +54,7 @@ void test(std::string filename, unsigned int degree = 1) { Triangulation triangulation; GridIn gi; - + gi.attach_triangulation (triangulation); std::ifstream in (filename.c_str()); gi.read_ucd (in); @@ -63,10 +63,10 @@ void test(std::string filename, unsigned int degree = 1) // projection const FE_Q fe (degree); const MappingQ mapping(degree); - + DoFHandler dof_handler (triangulation); dof_handler.distribute_dofs (fe); - + deallog << "no. of cells "<< triangulation.n_cells() < the_function(exp); - + const QGauss quad(2*fe.degree+1); ConstraintMatrix constraints; constraints.close(); @@ -97,8 +97,8 @@ void test(std::string filename, unsigned int degree = 1) deallog << "L2 norm of projected vector: " << projected_one.l2_norm() << endl; - - + + // compute the H1 difference Vector difference_per_cell (triangulation.n_active_cells()); VectorTools::integrate_difference (dof_handler, projected_one, @@ -114,7 +114,7 @@ int main () { logfile.precision (4); deallog.attach(logfile); - deallog.depth_console(3); + deallog.depth_console(0); deallog.threshold_double(1.e-12); deallog<<"Test <1,2>, Q1, Q2, Q3"<