]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add an Adol-C related exception
authorJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 27 Apr 2018 16:20:42 +0000 (18:20 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 27 Apr 2018 17:21:58 +0000 (19:21 +0200)
include/deal.II/differentiation/ad/adolc_number_types.h

index dd75c8e67dcf1824ac5a9eec7918aa6e87598511..73779a71497b36ef3e0b5e68c4623d1f7caffa0d 100644 (file)
@@ -89,6 +89,16 @@ DEAL_II_NAMESPACE_CLOSE
 
 DEAL_II_NAMESPACE_OPEN
 
+/**
+ * An exception which states that a function has been disabled due to the
+ * configuration of Adol-C with the advanced branching feature enabled.
+ *
+ * @ingroup Exceptions
+ */
+DeclExceptionMsg (ExcADOLCAdvancedBranching,
+                  "This function has not yet been implemented for taped Adol-C "
+                  "numbers when the advanced branching feature is activated.");
+
 
 /* --------------------------- inline and template functions and specializations ------------------------- */
 

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.