]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove update_JxW_values for Piola transform
authorMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Wed, 31 May 2023 12:58:45 +0000 (14:58 +0200)
committerMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Wed, 31 May 2023 12:58:45 +0000 (14:58 +0200)
source/fe/mapping_fe_field.cc

index 6be44923ecebbd809a4811764137f421ad659a3c..a711cebbd864391e151d27d13b652c332c0bd4d3 100644 (file)
@@ -496,15 +496,6 @@ MappingFEField<dim, spacedim, VectorType>::requires_update_flags(
            update_jacobian_pushed_forward_3rd_derivatives))
         out |= update_covariant_transformation;
 
-      // The contravariant transformation
-      // is a Piola transformation, which
-      // requires the determinant of the
-      // Jacobi matrix of the transformation.
-      // Therefore these values have to be
-      // updated for each cell.
-      if (out & update_contravariant_transformation)
-        out |= update_JxW_values;
-
       if (out & update_normal_vectors)
         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.