From: Jean-Paul Pelteret Date: Wed, 15 Nov 2017 12:44:12 +0000 (+0100) Subject: Add a unifying header for auto-differentation. X-Git-Tag: v9.0.0-rc1~769^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94be3c79a1f39958ba31a9962fa1318b27b72a33;p=dealii.git Add a unifying header for auto-differentation. --- diff --git a/include/deal.II/differentiation/ad.h b/include/deal.II/differentiation/ad.h new file mode 100644 index 0000000000..5e6f28a7ef --- /dev/null +++ b/include/deal.II/differentiation/ad.h @@ -0,0 +1,51 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2016 - 2017 by the deal.II authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + +#ifndef dealii_differentiation_ad_h +#define dealii_differentiation_ad_h + +#include + +#if defined(DEAL_II_WITH_ADOLC) || defined(DEAL_II_WITH_TRILINOS) + +DEAL_II_NAMESPACE_OPEN + +/** +* A namespace that encapsulates various classes and helper functions related +* to automatic and symbolic differentiation. +* +* @ingroup auto_symb_diff +*/ +namespace Differentiation +{ + /** + * Wrappers for automatic differentiation libraries. Currently there is support + * for the following libraries: + * - Adol-C + * - Sacado (a component of Trilinos) + * + * @ingroup auto_symb_diff + */ + namespace AD + { + + } +} + +DEAL_II_NAMESPACE_CLOSE + +#endif + +#endif