]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor change.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 May 2008 18:15:50 +0000 (18:15 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 May 2008 18:15:50 +0000 (18:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@16052 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-33/doc/intro.dox

index beca0d1d9d7f41f2daf880bced409b3f784f7733..02acf71a81902811e78c8f39e5a7adfd051e4a0e 100644 (file)
@@ -134,24 +134,28 @@ or Trilinos' GMRES implementation to solve it.
 
 <h3> Auto-Differentiation </h3>
 
-Since computing the Jacobian $\partial R$ is a terrible beast, we use an automatic differentiation package,
-Sacado, to do this.  Sacado is a package within the <a
+Since computing the Jacobian matrix $\mathbf R'(\mathbf W^k)$ is a
+terrible beast, we use an automatic differentiation package, Sacado,
+to do this.  Sacado is a package within the <a
 href="http://trilinos.sandia.gov" target="_top">Trilinos</a> framework
 and offers a C++ template class <code>Sacado::Fad::DFad</code>
 (<code>Fad</code> standing for "floating point automatic
 differentiation") that supports basic arithmetic operators and
-functions such as <code> sqrt, sin, cos, pow,  </code> etc. In order
-to use this feature, one
-declares a collection of variables of this type and then denotes
-some of this collection as degrees of freedom.  These variables are used in an algorithm, and as the variables
-are used, their sensitivities with respect to the degrees of freedom are continuously updated.
-One can imagine that for the full Jacobian, this could be prohibitively expensive.  However, we do
-not use the Sacado type for the entire computation, but only element by element.  The author has
-used this approach side by side with a hand coded Jacobian for the Incompressible Navier-Stokes problem
-and found the Sacado approach to be just as fast as using a hand coded
-Jacobian, but infinitely simpler and less error prone:  Since using the
-auto-differentiation requires only that one code the residual $R(\mathbf{W})$, ensuring code correctness
-and maintaining code becomes tremendously more simple.
+functions such as <code> sqrt, sin, cos, pow, </code> etc. In order to
+use this feature, one declares a collection of variables of this type
+and then denotes some of this collection as degrees of freedom.  These
+variables are used in an algorithm, and as the variables are used,
+their sensitivities with respect to the degrees of freedom are
+continuously updated.  One can imagine that for the full Jacobian,
+this could be prohibitively expensive.  However, we do not use the
+Sacado type for the entire computation, but only element by element.
+The author has used this approach side by side with a hand coded
+Jacobian for the Incompressible Navier-Stokes problem and found the
+Sacado approach to be just as fast as using a hand coded Jacobian, but
+infinitely simpler and less error prone: Since using the
+auto-differentiation requires only that one code the residual
+$R(\mathbf{W})$, ensuring code correctness and maintaining code
+becomes tremendously more simple.
 
 All this said, here's a very simple example showing how Sacado can be
 used:

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.