From 295c0e5a32ce35dd3713c8893bb46c581f49404b Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 31 Jul 2006 20:35:16 +0000 Subject: [PATCH] Change the tests to what they are supposed to test. rt_14 presently produces the wrong result, while rt_15 crashes. git-svn-id: https://svn.dealii.org/trunk@13550 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/fe/rt_14.cc | 18 +++++++++--------- tests/fe/rt_15.cc | 14 +++++++------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/fe/rt_14.cc b/tests/fe/rt_14.cc index be946f79fb..435aedeeb6 100644 --- a/tests/fe/rt_14.cc +++ b/tests/fe/rt_14.cc @@ -1,5 +1,5 @@ -//---------------------------- rt_12.cc --------------------------- -// rt_12.cc,v 1.3 2003/06/09 16:00:38 wolf Exp +//---------------------------- rt_14.cc --------------------------- +// rt_14.cc,v 1.3 2003/06/09 16:00:38 wolf Exp // Version: // // Copyright (C) 2003, 2005, 2006 by the deal.II authors @@ -9,9 +9,9 @@ // to the file deal.II/doc/license.html for the text and // further information on this license. // -//---------------------------- rt_12.cc --------------------------- +//---------------------------- rt_14.cc --------------------------- -// Like rt_10, but check gradients instead of values +// like rt_11, but use FESubfaceValues #include "../tests.h" #include @@ -37,7 +37,7 @@ #define PRECISION 2 -std::ofstream logfile ("rt_12/output"); +std::ofstream logfile ("rt_14/output"); template void @@ -59,10 +59,10 @@ test (const unsigned int degree) DoFHandler dof(tr); dof.distribute_dofs(fe_rt); - QTrapez quadrature; + QTrapez quadrature; - FEValues fe_values (fe_rt, quadrature, update_gradients); - fe_values.reinit (dof.begin_active()); + FESubfaceValues fe_values (fe_rt, quadrature, update_values); + fe_values.reinit (dof.begin_active(), 0, 0); for (unsigned int q=0; q @@ -37,7 +37,7 @@ #define PRECISION 2 -std::ofstream logfile ("rt_13/output"); +std::ofstream logfile ("rt_15/output"); template void @@ -61,8 +61,8 @@ test (const unsigned int degree) QTrapez quadrature; - FEFaceValues fe_values (fe_rt, quadrature, update_gradients); - fe_values.reinit (dof.begin_active(), 0); + FESubfaceValues fe_values (fe_rt, quadrature, update_gradients); + fe_values.reinit (dof.begin_active(), 0, 0); for (unsigned int q=0; q