From 5377316e59221bf78f4810f04214410c48dba241 Mon Sep 17 00:00:00 2001 From: danshapero Date: Thu, 23 Jun 2016 18:56:08 -0700 Subject: [PATCH] derivative approximation uses operator* of SynchronousIterators --- source/numerics/derivative_approximation.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } } -- 2.39.5