From 63b827a374b6eeff4b31a9107362bc6246042202 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 25 May 2005 03:55:30 +0000 Subject: [PATCH] Minor changes. git-svn-id: https://svn.dealii.org/trunk@10736 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-18/step-18.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/deal.II/examples/step-18/step-18.cc b/deal.II/examples/step-18/step-18.cc index 0ec59d744a..335408d75e 100644 --- a/deal.II/examples/step-18/step-18.cc +++ b/deal.II/examples/step-18/step-18.cc @@ -1591,11 +1591,12 @@ namespace QuasiStaticElasticity const SymmetricTensor<2,dim> &old_stress = local_quadrature_points_data[q_point].old_stress; - cell_rhs(i) += (fe_values.shape_value (i,q_point) * - body_force_values[q_point](component_i) + cell_rhs(i) += (body_force_values[q_point](component_i) * + fe_values.shape_value (i,q_point) - - get_strain (fe_values,i,q_point) * - old_stress) * + old_stress * + get_strain (fe_values,i,q_point)) + * fe_values.JxW (q_point); } } -- 2.39.5