From a8c10910ea7db36fccc09a472a16e27b737d738e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 22 Jan 2015 18:05:25 -0600 Subject: [PATCH] Remove deprecated functions Mapping::transform_* --- doc/news/changes.h | 3 +- include/deal.II/fe/mapping.h | 37 --------------------- source/fe/mapping.cc | 63 ------------------------------------ 3 files changed, 2 insertions(+), 101 deletions(-) diff --git a/doc/news/changes.h b/doc/news/changes.h index af1f2c4ba4..faee6e9b10 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -149,9 +149,10 @@ inconvenience this causes. have been around for a while. - Vector::scale. - TrilinosWrappers::*Vector*::compress with an Epetra_CombineMode - argument + argument. - SparsityPattern and ChunkSparsityPattern functions that take an optimize_diagonal argument. + - Mapping::transform_covariant and Mapping::transform_contravariant.
This release also removes the deprecated class MGDoFHandler. The functionality of this class had previously been incorporated into diff --git a/include/deal.II/fe/mapping.h b/include/deal.II/fe/mapping.h index 713d579d96..76d8ac2440 100644 --- a/include/deal.II/fe/mapping.h +++ b/include/deal.II/fe/mapping.h @@ -492,43 +492,6 @@ public: const InternalDataBase &internal, const MappingType type) const = 0; - /** - * @deprecated Use transform() instead. - */ - void - transform_covariant (const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const InternalDataBase &internal) const DEAL_II_DEPRECATED; - - /** - * @deprecated Use transform() instead. - */ - void - transform_covariant (const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const InternalDataBase &internal) const DEAL_II_DEPRECATED; - - /** - * @deprecated Use transform() instead. - */ - void - transform_contravariant (const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const typename Mapping::InternalDataBase &internal) const DEAL_II_DEPRECATED; - - /** - * @deprecated Use transform() instead. - */ - - void - transform_contravariant (const VectorSlice > > input, - const unsigned int offset, - const VectorSlice > > output, - const typename Mapping::InternalDataBase &internal) const DEAL_II_DEPRECATED; - /** * The transformed (generalized) support point. */ diff --git a/source/fe/mapping.cc b/source/fe/mapping.cc index 7ce9cb9534..53dc4b03ac 100644 --- a/source/fe/mapping.cc +++ b/source/fe/mapping.cc @@ -25,69 +25,6 @@ Mapping::~Mapping () {} -// This function is deprecated and has been replaced by transform above -template -void -Mapping::transform_covariant ( - const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const typename Mapping::InternalDataBase &mapping_data) const -{ - Assert (offset == 0, ExcInternalError()); - - transform(input, output, mapping_data, mapping_covariant); -} - - - -// This function is deprecated and has been replaced by transform above -template -void -Mapping::transform_covariant ( - const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const typename Mapping::InternalDataBase &mapping_data) const -{ - Assert (offset == 0, ExcInternalError()); - - transform(input, output, mapping_data, mapping_covariant); -} - - - -// This function is deprecated and has been replaced by transform above -template -void -Mapping::transform_contravariant ( - const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const typename Mapping::InternalDataBase &mapping_data) const -{ - Assert (offset == 0, ExcInternalError()); - - transform(input, output, mapping_data, mapping_contravariant); -} - - - -// This function is deprecated and has been replaced by transform above -template -void -Mapping::transform_contravariant ( - const VectorSlice > > input, - const unsigned int offset, - VectorSlice > > output, - const typename Mapping::InternalDataBase &mapping_data) const -{ - Assert (offset == 0, ExcInternalError()); - - transform(input, output, mapping_data, mapping_contravariant); -} - - /*------------------------------ InternalDataBase ------------------------------*/ -- 2.39.5