]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix AD doc typos 11303/head
authorPasquale Africa <pasqualeclaudio.africa@polimi.it>
Thu, 3 Dec 2020 11:40:43 +0000 (11:40 +0000)
committerPasquale Africa <pasqualeclaudio.africa@polimi.it>
Thu, 3 Dec 2020 11:40:43 +0000 (11:40 +0000)
include/deal.II/differentiation/ad/ad_helpers.h

index c93d968c8fc6bb4bd2b6af72e3ba547cb5c1b971..6ccf66bdd72277bcc6f8fe03c429306e500b58ee 100644 (file)
@@ -1412,9 +1412,7 @@ namespace Differentiation
      *       ad_helper.register_dof_values(solution, local_dof_indices);
      *
      *       // Then we get the complete set of degree of freedom values as
-     *       // represented by auto-differentiable numbers. The operations
-     *       // performed with these variables are tracked by the AD library
-     *       // from this point until stop_recording_operations() is called.
+     *       // represented by auto-differentiable numbers.
      *       const std::vector<ADNumberType> dof_values_ad
      *         = ad_helper.get_sensitive_dof_values();
      *
@@ -3013,7 +3011,7 @@ namespace Differentiation
      *       0.5*mu_0*mu_r*J*H_AD*C_inv_AD*H_AD;
      *
      *     // Register the definition of the total stored energy
-     *     ad_helper.register_dependent_variable(psi_CH);
+     *     ad_helper.register_dependent_variable(psi);
      *
      *     // Indicate that we have completed tracing the operations onto
      *     // the tape.

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.