]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix bug in project_bv_curl_conf for dim=2.
authorbuerg <buerg@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2014 00:18:42 +0000 (00:18 +0000)
committerbuerg <buerg@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2014 00:18:42 +0000 (00:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@32640 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/numerics/vector_tools.templates.h

index 6b57aea315ed8e8fa4d817a6a7956c5c3e1feecf..cd33a7f5f2b0973f5f0bf62dcfda93494ca18a9a 100644 (file)
@@ -3114,11 +3114,7 @@ namespace VectorTools
                           + values[q_point] (first_vector_component + 1)
                           * tangentials[q_point] (1))
                        * (fe_values[vec].value (fe.face_to_cell_index (i, face), q_point)
-                          * tangentials[q_point])
-                       / std::sqrt (jacobians[q_point][0][face_coordinate_direction[face]]
-                                    * jacobians[q_point][0][face_coordinate_direction[face]]
-                                    + jacobians[q_point][1][face_coordinate_direction[face]]
-                                    * jacobians[q_point][1][face_coordinate_direction[face]]);
+                          * tangentials[q_point]);
 
                     if (q_point == 0)
                       dofs_processed[i] = true;

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.