]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug in FEFaceEvaluation in 1D.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 29 Jun 2018 15:48:42 +0000 (17:48 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 26 Jul 2018 19:19:17 +0000 (21:19 +0200)
include/deal.II/matrix_free/evaluation_kernels.h

index d093c47b7c9b6eb28edccbd548a493ad749bdb3b..1173c86f952110202b614f8cf4df2a998dbfbeee 100644 (file)
@@ -1407,7 +1407,7 @@ namespace internal
                                                         values_quad);
                   break;
                 case 1:
-                  values_quad[c] = values_dofs[2 * c];
+                  values_quad[0] = values_dofs[0];
                   break;
                 default:
                   Assert(false, ExcNotImplemented());
@@ -1561,7 +1561,7 @@ namespace internal
                                                          values_dofs);
                   break;
                 case 1:
-                  values_dofs[2 * c] = values_quad[c][0];
+                  values_dofs[0] = values_quad[0];
                   break;
                 default:
                   Assert(false, ExcNotImplemented());

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.