]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clarify one comment.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 20 Aug 2015 23:26:40 +0000 (18:26 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 21 Aug 2015 12:08:55 +0000 (07:08 -0500)
source/fe/mapping_q1.cc

index 6c527afb4b0ce16a48be1a2825196c69c2442101..3de4e63f44d99a0b755187612071c5463a7bb36e 100644 (file)
@@ -513,10 +513,12 @@ MappingQ1<dim,spacedim>::requires_update_flags (const UpdateFlags in) const
         out |= update_covariant_transformation;
 
       // The contravariant transformation
-      // is a Piola transformation, which
+      // used in the Piola transformation, which
       // requires the determinant of the
       // Jacobi matrix of the transformation.
-      // Therefore these values have to be
+      // Because we have no way of knowing here whether the finite
+      // elements wants to use the contravariant of the Piola
+      // transforms, we add the JxW values to the list of flags to be
       // updated for each cell.
       if (out & update_contravariant_transformation)
         out |= update_JxW_values;

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.