]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
change flags
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Aug 2011 09:36:39 +0000 (09:36 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Aug 2011 09:36:39 +0000 (09:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@24035 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/fe/fe_poly_face.templates.h

index aad6592d83f3cfc81b263c1f818aea252500b0fc..edc9cdcab032e6d545a9565ab945de63b3929991 100644 (file)
@@ -49,14 +49,14 @@ FE_PolyFace<POLY,dim,spacedim>::get_degree () const
 
 template <class POLY, int dim, int spacedim>
 UpdateFlags
-FE_PolyFace<POLY,dim,spacedim>::update_once (const UpdateFlags flags) const
+FE_PolyFace<POLY,dim,spacedim>::update_once (const UpdateFlags) const
 {
                                   // for this kind of elements, only
                                   // the values can be precomputed
                                   // once and for all. set this flag
                                   // if the values are requested at
                                   // all
-  return (update_default | (flags & update_values));
+  return update_default;
 }
 
 
@@ -65,8 +65,7 @@ template <class POLY, int dim, int spacedim>
 UpdateFlags
 FE_PolyFace<POLY,dim,spacedim>::update_each (const UpdateFlags flags) const
 {
-  UpdateFlags out = update_default;
-
+  UpdateFlags out = flags & update_values;
   if (flags & update_gradients)
     out |= update_gradients | update_covariant_transformation;
   if (flags & update_hessians)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.