From 321d7386fac0fd81986499d11f0e50a3c46ae143 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 24 Jun 2022 17:26:39 -0400 Subject: [PATCH] Remove unqualified ContantFunction and ZeroFunction --- .../changes/incompatibilities/20220624Arndt-3 | 4 ++++ include/deal.II/base/function.h | 21 ------------------- 2 files changed, 4 insertions(+), 21 deletions(-) create mode 100644 doc/news/changes/incompatibilities/20220624Arndt-3 diff --git a/doc/news/changes/incompatibilities/20220624Arndt-3 b/doc/news/changes/incompatibilities/20220624Arndt-3 new file mode 100644 index 0000000000..8670d23971 --- /dev/null +++ b/doc/news/changes/incompatibilities/20220624Arndt-3 @@ -0,0 +1,4 @@ +Removed: The deprecated classes ConstantFunction and ZeroFunction +have been removed. +
+(Daniel Arndt, 2022/06/24) diff --git a/include/deal.II/base/function.h b/include/deal.II/base/function.h index 7f25ba2ea7..a150bac5c6 100644 --- a/include/deal.II/base/function.h +++ b/include/deal.II/base/function.h @@ -564,27 +564,6 @@ namespace Functions }; } // namespace Functions -/** - * Provide a function which always returns the constant values handed to the - * constructor. - * - * @deprecated use Functions::ConstantFunction instead. - */ -template -using ConstantFunction DEAL_II_DEPRECATED = - Functions::ConstantFunction; - -/** - * Provide a function which always returns zero. - * - * @deprecated use Functions::ZeroFunction instead. - */ -template -using ZeroFunction DEAL_II_DEPRECATED = - Functions::ZeroFunction; - - - /** * This is a constant vector-valued function, in which one or more components * of the vector have a constant value and all other components are zero. It -- 2.39.5