From: bangerth Date: Wed, 18 Dec 2013 17:39:02 +0000 (+0000) Subject: Fix indentation. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eca55eca6b0250e897f41c5335a6feb0fc86708b;p=dealii-svn.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); + } }