]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 4 Jun 1998 23:30:09 +0000 (23:30 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 4 Jun 1998 23:30:09 +0000 (23:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@380 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/error_estimator.cc

index b8c4177d7c0aa06f7cdac8bdcd0ccad00411229b..bbc196654f42a2bc3e84eae8e0b808989f9d3371 100644 (file)
@@ -78,8 +78,10 @@ void KellyErrorEstimator<dim>::estimate_error (const DoFHandler<dim>    &dof,
                                   // neighbor cells, so using two objects
                                   // gives us a performance gain).
   FEFaceValues<dim> fe_face_values_cell (fe, quadrature,
-                                        UpdateFlags(update_gradients  |
-                                                    update_JxW_values |
+                                        UpdateFlags(update_gradients      |
+                                                    update_JxW_values     |
+                                                    (neumann_bc.empty() ?
+                                                     0 : update_q_points) |
                                                     update_normal_vectors)); 
   FEFaceValues<dim> fe_face_values_neighbor (fe, quadrature, update_gradients);
   FESubfaceValues<dim> fe_subface_values (fe, quadrature, update_gradients);

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.