From: wolf Date: Thu, 4 Jun 1998 23:30:09 +0000 (+0000) Subject: Fix bug. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d75f5d6d33e6066f348b51df8e4281f229a70370;p=dealii-svn.git Fix bug. git-svn-id: https://svn.dealii.org/trunk@380 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index b8c4177d7c..bbc196654f 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -78,8 +78,10 @@ void KellyErrorEstimator::estimate_error (const DoFHandler &dof, // neighbor cells, so using two objects // gives us a performance gain). FEFaceValues 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 fe_face_values_neighbor (fe, quadrature, update_gradients); FESubfaceValues fe_subface_values (fe, quadrature, update_gradients);