]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Inform memory leak of sacado_rad_fad in doc. 10818/head
authorDoug Shi-Dong <doug.shidong@gmail.com>
Wed, 12 Aug 2020 02:50:59 +0000 (22:50 -0400)
committerDoug Shi-Dong <doug.shidong@gmail.com>
Wed, 12 Aug 2020 02:50:59 +0000 (22:50 -0400)
doc/doxygen/headers/automatic_and_symbolic_differentiation.h
include/deal.II/differentiation/ad/ad_number_types.h

index 5d7e1394b92a8bbbd339e06f45cc71aa835887fb..3b3161cf5b19a8bf4d6c6f6f4f2fbd9c716807ea 100644 (file)
  *  - Forward-mode Sacado with dynamic memory allocation using expression templates (once differentiable)
  *  - Nested forward-mode Sacado using expression templates (twice differentiable)
  *  - Reverse-mode Sacado (once differentiable)
- *  - Nested reverse and dynamically-allocated forward-mode Sacado (twice differentiable)
+ *  - Nested reverse and dynamically-allocated forward-mode Sacado (twice differentiable, but results memory leak described in Differentiation::AD::NumberTypes)
  *
  * Note that in the above, "dynamic memory allocation" refers to the fact that the number of
  * independent variables need not be specified at compile time.
index 6bd7ae5716b36fbd0634fcc21d436c2fa2b2c155..c811d2699a380ee767bfe96c6e8fb2db42ffa277 100644 (file)
@@ -84,6 +84,11 @@ namespace Differentiation
        *
        * First derivatives will be computed using reverse mode, while the second
        * derivatives will be computed using forward mode.
+       *
+       * Note that the repeated use of the nested reverse-forward mode results
+       * in a memory leak described in this <a
+       * href="https://github.com/trilinos/Trilinos/issues/7741"> Trilinos
+       * issue.</a>
        */
       sacado_rad_dfad
     };

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.