From 62b60c4e945da8095f8cfe2fed2f32beb38c2905 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 5 May 2017 15:40:40 -0600 Subject: [PATCH] Remove the deprecated constructor of MappingQEulerian. --- include/deal.II/fe/mapping_q1_eulerian.h | 7 ------- source/fe/mapping_q1_eulerian.cc | 11 ----------- source/fe/mapping_q_eulerian.cc | 4 ++-- 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/include/deal.II/fe/mapping_q1_eulerian.h b/include/deal.II/fe/mapping_q1_eulerian.h index d7b7483483..85c3ffc8d9 100644 --- a/include/deal.II/fe/mapping_q1_eulerian.h +++ b/include/deal.II/fe/mapping_q1_eulerian.h @@ -108,13 +108,6 @@ public: MappingQ1Eulerian (const DoFHandler &euler_dof_handler, const VectorType &euler_vector); - /** - * @deprecated Use the constructor with the reverse order of first and - * second argument. - */ - MappingQ1Eulerian (const VectorType &euler_vector, - const DoFHandler &euler_dof_handler) DEAL_II_DEPRECATED; - /** * Return the mapped vertices of the cell. For the current class, this * function does not use the support points from the geometry of the current diff --git a/source/fe/mapping_q1_eulerian.cc b/source/fe/mapping_q1_eulerian.cc index 5534097355..2be8224305 100644 --- a/source/fe/mapping_q1_eulerian.cc +++ b/source/fe/mapping_q1_eulerian.cc @@ -46,17 +46,6 @@ MappingQ1Eulerian (const DoFHandler &shiftmap_dof_handler, {} -template -MappingQ1Eulerian:: -MappingQ1Eulerian (const VectorType &euler_transform_vectors, - const DoFHandler &shiftmap_dof_handler) - : - MappingQGeneric(1), - euler_transform_vectors(&euler_transform_vectors), - shiftmap_dof_handler(&shiftmap_dof_handler) -{} - - template std::array, GeometryInfo::vertices_per_cell> diff --git a/source/fe/mapping_q_eulerian.cc b/source/fe/mapping_q_eulerian.cc index 0bba0e460f..4b7ec43102 100644 --- a/source/fe/mapping_q_eulerian.cc +++ b/source/fe/mapping_q_eulerian.cc @@ -67,8 +67,8 @@ MappingQEulerian (const unsigned int degree, // reset the q1 mapping we use for interior cells (and previously // set by the MappingQ constructor) to a MappingQ1Eulerian with the // current vector - this->q1_mapping.reset (new MappingQ1Eulerian(euler_vector, - euler_dof_handler)); + this->q1_mapping.reset (new MappingQ1Eulerian(euler_dof_handler, + euler_vector)); // also reset the qp mapping pointer with our own class this->qp_mapping.reset (new MappingQEulerianGeneric(degree,*this)); -- 2.39.5