]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
change comment
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 May 2007 23:07:57 +0000 (23:07 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 May 2007 23:07:57 +0000 (23:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@14666 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/interpolate_boundary_values_01.cc

index f23374f0f3aa40a69520c018be6f48e579947722..977831c062d9c0947226a8f2273ed61f0ef30068 100644 (file)
@@ -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 <base/function.h>
@@ -35,7 +33,7 @@
                                  // We need a FESystem
 #include <fe/fe_system.h>
 
-                                 // we need DG-elements
+                                 // we need RT-elements
                                  // and Q1-elements
 #include <fe/fe_q.h>
 #include <fe/fe_raviart_thomas.h>
@@ -66,8 +64,9 @@ void VectorBoundaryValues<dim>::vector_value (const Point<dim> &,
 {
   Assert (values.size() == dim+1,
           ExcDimensionMismatch (values.size(), dim+1));
-
-  values = 13;
+  
+  for (unsigned int d=0;d<dim+1;++d)
+    values(d) = 13.;//+d;
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.