]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix the same typo again :(
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 24 Oct 2010 22:59:36 +0000 (22:59 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 24 Oct 2010 22:59:36 +0000 (22:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@22468 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/integrators/laplace.h

index fd39122aedbfab436b62e10e3d893ed9bfe4b986..88a873f1f2b0f22bdd439b0fe4c3803f5a899ee1 100644 (file)
@@ -101,7 +101,7 @@ namespace LocalIntegrators
            for (unsigned j=0;j<n_dofs;++j)
              for (unsigned int d=0;d<n_comp;++d)
                M(i,j) += dx *
-                         (fe.shape_value_component(i,k,d) * penalty * fe.shape_value_component(j,k,d)
+                         (2. * fe.shape_value_component(i,k,d) * penalty * fe.shape_value_component(j,k,d)
                           - (n * fe.shape_grad_component(i,k,d)) * fe.shape_value_component(j,k,d)
                           - (n * fe.shape_grad_component(j,k,d)) * fe.shape_value_component(i,k,d));
        }

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.