]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Deprecate FunctionMap
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 11 Jun 2018 10:37:21 +0000 (12:37 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 14 Jun 2018 07:58:03 +0000 (09:58 +0200)
include/deal.II/dofs/function_map.h

index 5426d5767fb6099357e85004327fd2d5056d66ed..3d48930f8e77a05ee73ab146157967fb77cb8c6d 100644 (file)
@@ -15,6 +15,7 @@
 
 #ifndef dealii_function_map_h
 #define dealii_function_map_h
+#warning This file is deprecated.
 
 #include <deal.II/base/config.h>
 
@@ -73,13 +74,16 @@ class Function;
  * @author Wolfgang Bangerth, Ralf Hartmann, 2001
  */
 template <int dim, typename Number = double>
-struct FunctionMap
+struct DEAL_II_DEPRECATED FunctionMap
 {
   /**
    * Declare the type as discussed above. Since we can't name it FunctionMap
    * (as that would ambiguate a possible constructor of this class), name it
    * in the fashion of the standard container local typedefs.
+   *
+   * @deprecated Use the alias type directly.
    */
+  DEAL_II_DEPRECATED
   typedef std::map<types::boundary_id, const Function<dim, Number> *> type;
 };
 

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.