From: Jean-Paul Pelteret Date: Fri, 27 Apr 2018 16:20:42 +0000 (+0200) Subject: Add an Adol-C related exception X-Git-Tag: v9.0.0-rc1~35^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e3eb51121132c3bb3fd2fc222771542900475ad;p=dealii.git Add an Adol-C related exception --- diff --git a/include/deal.II/differentiation/ad/adolc_number_types.h b/include/deal.II/differentiation/ad/adolc_number_types.h index dd75c8e67d..73779a7149 100644 --- a/include/deal.II/differentiation/ad/adolc_number_types.h +++ b/include/deal.II/differentiation/ad/adolc_number_types.h @@ -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 ------------------------- */