From: Wolfgang Bangerth Date: Thu, 4 Jun 1998 23:30:09 +0000 (+0000) Subject: Fix bug. X-Git-Tag: v8.0.0~22874 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=430ce45547be42475f350ef662be468bdeb487a8;p=dealii.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);