From 2e3eb51121132c3bb3fd2fc222771542900475ad Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Fri, 27 Apr 2018 18:20:42 +0200 Subject: [PATCH] Add an Adol-C related exception --- .../deal.II/differentiation/ad/adolc_number_types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 ------------------------- */ -- 2.39.5