]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix sign of interface term.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 19 Apr 2011 00:22:05 +0000 (00:22 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 19 Apr 2011 00:22:05 +0000 (00:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@23609 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-46/step-46.cc

index 5e093d8e5c705c8efc0088a30b989b34c2620321..767a4795115a2ef611c18c17a1e426bb094b6eec 100644 (file)
@@ -505,7 +505,7 @@ void FluidStructureProblem<dim>::assemble_system ()
 
                      for (unsigned int i=0; i<elasticity_dofs_per_cell; ++i)
                        for (unsigned int j=0; j<stokes_dofs_per_cell; ++j)
-                         local_interface_matrix(i,j) += ((2 * viscosity *
+                         local_interface_matrix(i,j) += -((2 * viscosity *
                                                           (stokes_phi_grads_u[j] *
                                                            normal_vector)
                                                           +

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.