]> https://gitweb.dealii.org/ - dealii.git/commitdiff
git-svn-id: https://svn.dealii.org/trunk@19608 0785d39b-7218-0410-832d-ea1e28bc413d
authorAbner J. Salgado <asalgad1@utk.edu>
Tue, 29 Sep 2009 22:29:46 +0000 (22:29 +0000)
committerAbner J. Salgado <asalgad1@utk.edu>
Tue, 29 Sep 2009 22:29:46 +0000 (22:29 +0000)
deal.II/examples/step-35/step-35.cc

index f2abfb6de2818cfea4daea379a5a7c2e023d5944..73885c62487535145670e9bb18621c70e7392550 100644 (file)
@@ -789,7 +789,7 @@ void NavierStokesProjection<dim>::assemble_one_cell_of_gradient (const SIterator
     {
       for (unsigned int i=0; i<data.vel_dpc; ++i)
        for (unsigned int j=0; j<data.pres_dpc; ++j)
-         data.local_grad (i, j) += scratch.fe_val_vel.JxW(q)*scratch.fe_val_vel.shape_grad (i, q)[data.d]
+         data.local_grad (i, j) += -scratch.fe_val_vel.JxW(q)*scratch.fe_val_vel.shape_grad (i, q)[data.d]
                                    *scratch.fe_val_pres.shape_value (j, q);
     }
 }

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.