From: Wolfgang Bangerth Date: Wed, 18 Dec 2013 17:39:02 +0000 (+0000) Subject: Fix indentation. X-Git-Tag: v8.2.0-rc1~1164 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2f6a755ee088f8d2486dbdb4c1dbfb6faa582f;p=dealii.git Fix indentation. git-svn-id: https://svn.dealii.org/trunk@32052 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/numerics/derivative_approximation.cc b/deal.II/source/numerics/derivative_approximation.cc index 44b5362740..85edde6ed0 100644 --- a/deal.II/source/numerics/derivative_approximation.cc +++ b/deal.II/source/numerics/derivative_approximation.cc @@ -681,19 +681,19 @@ DerivativeApproximation::approximate (SynchronousIterators(cell.iterators)->is_locally_owned() == false) - *std_cxx1x::get<1>(cell.iterators) = 0; - else - { - typename DerivativeDescription::Derivative derivative; - // call the function doing the actual - // work on this cell - DerivativeApproximation::template approximate_cell - (mapping,dof_handler,solution,component,std_cxx1x::get<0>(cell.iterators),derivative); - // evaluate the norm and fill the vector - //*derivative_norm_on_this_cell - *std_cxx1x::get<1>(cell.iterators) = DerivativeDescription::derivative_norm (derivative); - } + if (std_cxx1x::get<0>(cell.iterators)->is_locally_owned() == false) + *std_cxx1x::get<1>(cell.iterators) = 0; + else + { + typename DerivativeDescription::Derivative derivative; + // call the function doing the actual + // work on this cell + DerivativeApproximation::template approximate_cell + (mapping,dof_handler,solution,component,std_cxx1x::get<0>(cell.iterators),derivative); + // evaluate the norm and fill the vector + //*derivative_norm_on_this_cell + *std_cxx1x::get<1>(cell.iterators) = DerivativeDescription::derivative_norm (derivative); + } }