]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an omission: we need the quadrature not only for computations on the boundary...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Mar 1999 12:06:57 +0000 (12:06 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 8 Mar 1999 12:06:57 +0000 (12:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@961 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e374bedd48b7738520ccccc8a477461c98b0b92a..cd72620d650494e334307b82ae9b24fbe1dd9114 100644 (file)
@@ -84,9 +84,9 @@ void KellyErrorEstimator<dim>::estimate_error (const DoFHandler<dim>    &dof,
   FEFaceValues<dim> fe_face_values_cell (fe, quadrature,
                                         UpdateFlags(update_gradients      |
                                                     update_JxW_values     |
-                                                    ((neumann_bc.empty() ||
+                                                    ((!neumann_bc.empty() ||
                                                       (coefficient != 0))  ?
-                                                     0 : update_q_points) |
+                                                     update_q_points : 0) |
                                                     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.