From 140a2ccac3a915573622e575ee263d2503e4526a Mon Sep 17 00:00:00 2001 From: kanschat Date: Thu, 3 May 2007 23:07:57 +0000 Subject: [PATCH] change comment git-svn-id: https://svn.dealii.org/trunk@14666 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/interpolate_boundary_values_01.cc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/deal.II/interpolate_boundary_values_01.cc b/tests/deal.II/interpolate_boundary_values_01.cc index f23374f0f3..977831c062 100644 --- a/tests/deal.II/interpolate_boundary_values_01.cc +++ b/tests/deal.II/interpolate_boundary_values_01.cc @@ -1,20 +1,18 @@ -//---------------------------- interpolate_boundary_values_01.cc --------------------------- +//---------------------------------------------------------------------- // $Id$ // Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to the file deal.II/doc/license.html for the text and // further information on this license. // -//---------------------------- interpolate_boundary_values_01.cc --------------------------- +//---------------------------------------------------------------------- -// somewhat like anna_4, except that we try to get boundary values for -// the continuous component a RT x Q1 element. this presently gives an -// exception, but shouldn't +// Interpolate the dofs of the Q1 part of an RT0/Q1 element #include "../tests.h" #include @@ -35,7 +33,7 @@ // We need a FESystem #include - // we need DG-elements + // we need RT-elements // and Q1-elements #include #include @@ -66,8 +64,9 @@ void VectorBoundaryValues::vector_value (const Point &, { Assert (values.size() == dim+1, ExcDimensionMismatch (values.size(), dim+1)); - - values = 13; + + for (unsigned int d=0;d