From: bangerth Date: Wed, 20 Nov 2013 14:00:04 +0000 (+0000) Subject: Minor indentation changes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b93815d132935ce89fdf1170fd56c5f65c1d761;p=dealii-svn.git Minor indentation changes. git-svn-id: https://svn.dealii.org/trunk@31725 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/numerics/vector_tools.templates.h b/deal.II/include/deal.II/numerics/vector_tools.templates.h index 93e6847b74..a3748c86b8 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -5218,9 +5218,11 @@ namespace VectorTools case H1_norm: exponent = 2.; break; + case L1_norm: exponent = 1.; break; + default: break; } @@ -5233,15 +5235,19 @@ namespace VectorTools case W1p_seminorm: case W1infty_seminorm: update_flags |= UpdateFlags (update_gradients); - if (spacedim == dim+1) update_flags |= UpdateFlags (update_normal_vectors); + if (spacedim == dim+1) + update_flags |= UpdateFlags (update_normal_vectors); break; + case H1_norm: case W1p_norm: case W1infty_norm: update_flags |= UpdateFlags (update_gradients); - if (spacedim == dim+1) update_flags |= UpdateFlags (update_normal_vectors); + if (spacedim == dim+1) + update_flags |= UpdateFlags (update_normal_vectors); // no break! + default: update_flags |= UpdateFlags (update_values); break;