]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a unifying header for auto-differentation.
authorJean-Paul Pelteret <jppelteret@gmail.com>
Wed, 15 Nov 2017 12:44:12 +0000 (13:44 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Thu, 16 Nov 2017 05:30:46 +0000 (06:30 +0100)
include/deal.II/differentiation/ad.h [new file with mode: 0644]

diff --git a/include/deal.II/differentiation/ad.h b/include/deal.II/differentiation/ad.h
new file mode 100644 (file)
index 0000000..5e6f28a
--- /dev/null
@@ -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 <deal.II/base/config.h>
+
+#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

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.