]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a comment.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 20 Dec 2010 04:05:44 +0000 (04:05 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 20 Dec 2010 04:05:44 +0000 (04:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@23016 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/mapping_q1.cc

index 34f474b93b20675b6426462f1d7596c19174f47e..9a8485f7223cf370c36a0982e233fe67068983c6 100644 (file)
@@ -1087,11 +1087,19 @@ namespace internal
                                                   // tangent and the cell
                                                   // normal:
                  if ( (dim==1) && (spacedim==2) )
-                                                    // need to think how to
-                                                    // figure out whether we
-                                                    // need to point to the
-                                                    // left or right
-                   Assert (false, ExcNotImplemented())
+                   {
+                                                      // need to think how to
+                                                      // do this. the code
+                                                      // should be something
+                                                      // like the below, but
+                                                      // I can't test it
+                                                      // right now since we
+                                                      // can't use
+                                                      // FEFaceValues in 1d
+                     Assert (false, ExcNotImplemented());
+                     cross_product (boundary_forms[point],
+                                    (face_no == 0 ? 1 : -1) * cell_normal);
+                   }
                  else if ( (dim==2) && (spacedim==3) )
                    cross_product (boundary_forms[point],
                                   data.aux[0][point], cell_normal);

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.