From: Guido Kanschat Date: Thu, 19 Jan 2006 23:14:33 +0000 (+0000) Subject: add tests for higher order and 3D X-Git-Tag: v8.0.0~12568 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8de84643d70fa45130030853fc6452b9e7dfe392;p=dealii.git add tests for higher order and 3D git-svn-id: https://svn.dealii.org/trunk@12107 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fe/rt_6.cc b/tests/fe/rt_6.cc index 2bdb633adc..7712717935 100644 --- a/tests/fe/rt_6.cc +++ b/tests/fe/rt_6.cc @@ -2,7 +2,7 @@ // rt_6.cc,v 1.1 2003/06/09 15:59:07 wolf Exp // Version: // -// Copyright (C) 2003, 2005 by the deal.II authors +// Copyright (C) 2003, 2005, 2006 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -86,7 +86,7 @@ void check_element (const Triangulation &tr, for (unsigned int c=0; c::children_per_cell; ++c) Assert (cell->child(c)->active(), ExcInternalError()); - // then restrict and prolong + // then restrict and prolongate cell->get_interpolated_dof_values (tmp, v); cell->set_dof_values_by_interpolation (v, x); }; @@ -116,13 +116,11 @@ void check_element (const Triangulation &tr, << (relative_residual -void test () +void test () { // make a coarse triangulation as a // hypercube. if in more than 1d, @@ -144,7 +142,8 @@ void test () = { new FE_RaviartThomas(0), - new FE_RaviartThomas(1) + new FE_RaviartThomas(1), + new FE_RaviartThomas(2) }; for (unsigned int i=0; i(); - + test<3>(); return 0; }