]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix inconsistency.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Jan 2000 17:26:30 +0000 (17:26 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 9 Jan 2000 17:26:30 +0000 (17:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@2176 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/step-by-step/step-8/step-8.cc
deal.II/examples/step-8/step-8.cc

index 9fac1af41e71a591a173fd7d718763d909436ecb..e46a322f0151428778304b975dfc9d0a29c35197 100644 (file)
@@ -541,7 +541,8 @@ void ElasticProblem<dim>::assemble_system ()
                    (
                      (shape_grads[i][q_point][component_i] *
                       shape_grads[j][q_point][component_j] *
-                      lambda_values[q_point])
+                      (lambda_values[q_point] +
+                       mu_values[q_point]))
                      +                             // (mu d_i u_j, d_i v_j)
                      (shape_grads[i][q_point][component_j] *
                       shape_grads[j][q_point][component_i] *
index 9fac1af41e71a591a173fd7d718763d909436ecb..e46a322f0151428778304b975dfc9d0a29c35197 100644 (file)
@@ -541,7 +541,8 @@ void ElasticProblem<dim>::assemble_system ()
                    (
                      (shape_grads[i][q_point][component_i] *
                       shape_grads[j][q_point][component_j] *
-                      lambda_values[q_point])
+                      (lambda_values[q_point] +
+                       mu_values[q_point]))
                      +                             // (mu d_i u_j, d_i v_j)
                      (shape_grads[i][q_point][component_j] *
                       shape_grads[j][q_point][component_i] *

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.