From: bangerth Date: Sat, 28 Oct 2006 13:14:46 +0000 (+0000) Subject: Fix sign errors X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36d1a3264be9c4a47babbaa23ef593fc030b97f9;p=dealii-svn.git Fix sign errors git-svn-id: https://svn.dealii.org/trunk@14116 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-21/doc/intro.dox b/deal.II/examples/step-21/doc/intro.dox index 74167d099a..f165ed298f 100644 --- a/deal.II/examples/step-21/doc/intro.dox +++ b/deal.II/examples/step-21/doc/intro.dox @@ -181,10 +181,10 @@ Note that in the first term, we have to prescribe the pressure $p^{n+1}$ on the boundary $\partial\Omega$ as boundary values for our problem. $\mathbf n$ denotes the unit outward normal vector to $\partial K$, as usual. -For the saturation equation, we obtain +For the saturation equation, we obtain after integrating by parts @f{eqnarray*} (S^{n+1}, \sigma)_\Omega - + + - \triangle t \sum_K \left\{ @@ -199,7 +199,7 @@ Using the fact that $\nabla \cdot \mathbf{u}^{n+1}=0$, we can rewrite the cell term to get an equation as follows: @f{eqnarray*} (S^{n+1}, \sigma)_\Omega - + + - \triangle t \sum_K \left\{ @@ -284,6 +284,7 @@ B_{ij} &=& (\nabla \cdot \mathbf v_i, \phi_j)_\Omega, \\ H_{ij} &=& + - \sum_K \left\{ \left(F(S^n) \mathbf v_i, \nabla \phi_j)\right)_K