]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor bugfix, which caused an "Internal error", when the face values
authoroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Jan 2005 13:17:57 +0000 (13:17 +0000)
committeroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Jan 2005 13:17:57 +0000 (13:17 +0000)
of the Raviart-Thomas elements were used.

git-svn-id: https://svn.dealii.org/trunk@9879 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_raviart_thomas.cc

index 1bc800305a89d8638cace8a23f2ed51991150e4c..2fb51bee2f175771ed9ae24f33608b8603c3868d 100644 (file)
@@ -1658,8 +1658,9 @@ FE_RaviartThomas<dim>::fill_fe_face_values (const Mapping<dim>
                                   // number of conversions
   if (flags & update_values)
     {
-      Assert (fe_data.shape_values.size() ==
-              GeometryInfo<dim>::faces_per_cell * n_q_points,
+      Assert (fe_data.shape_values[0].size() ==
+              GeometryInfo<dim>::faces_per_cell * n_q_points *
+             (dim == 3 ? 2 : 1),
               ExcInternalError());
       
       std::vector<Tensor<1,dim> > shape_values (n_q_points);

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.