From: danshapero Date: Fri, 24 Jun 2016 01:56:08 +0000 (-0700) Subject: derivative approximation uses operator* of SynchronousIterators X-Git-Tag: v8.5.0-rc1~954^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5377316e59221bf78f4810f04214410c48dba241;p=dealii.git derivative approximation uses operator* of SynchronousIterators --- diff --git a/source/numerics/derivative_approximation.cc b/source/numerics/derivative_approximation.cc index 1490100651..3b32bc1fbf 100644 --- a/source/numerics/derivative_approximation.cc +++ b/source/numerics/derivative_approximation.cc @@ -937,19 +937,19 @@ namespace DerivativeApproximation const unsigned int component) { // if the cell is not locally owned, then there is nothing to do - if (std_cxx11::get<0>(cell.iterators)->is_locally_owned() == false) - *std_cxx11::get<1>(cell.iterators) = 0; + if (std_cxx11::get<0>(*cell)->is_locally_owned() == false) + *std_cxx11::get<1>(*cell) = 0; else { typename DerivativeDescription::Derivative derivative; // call the function doing the actual // work on this cell approximate_cell - (mapping,dof_handler,solution,component,std_cxx11::get<0>(cell.iterators),derivative); + (mapping,dof_handler,solution,component,std_cxx11::get<0>(*cell),derivative); // evaluate the norm and fill the vector //*derivative_norm_on_this_cell - *std_cxx11::get<1>(cell.iterators) = DerivativeDescription::derivative_norm (derivative); + *std_cxx11::get<1>(*cell) = DerivativeDescription::derivative_norm (derivative); } }