]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the deprecated constructor of MappingQEulerian.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 4 May 2017 22:11:06 +0000 (16:11 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 4 May 2017 22:11:06 +0000 (16:11 -0600)
include/deal.II/fe/mapping_q_eulerian.h
source/fe/mapping_q_eulerian.cc

index b70640ff8e2996a2555bb01a6bdfcc94d0d0dc2b..d21ca6ce4bc1679c39c43f7a70fbed298a015a47 100644 (file)
@@ -107,14 +107,6 @@ public:
                     const DoFHandler<dim,spacedim> &euler_dof_handler,
                     const VectorType               &euler_vector);
 
-  /**
-   * @deprecated Use the constructor with the reverse order of second and
-   * third argument.
-   */
-  MappingQEulerian (const unsigned int             degree,
-                    const VectorType               &euler_vector,
-                    const DoFHandler<dim,spacedim> &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
index d46f57a6d95db1ceaa8b83ce64e64f68732062fd..0bba0e460fc034d34cd7e8562188516507943212 100644 (file)
@@ -52,26 +52,6 @@ MappingQEulerianGeneric (const unsigned int                                 degr
             update_values | update_quadrature_points)
 {}
 
-template <int dim, class VectorType, int spacedim>
-MappingQEulerian<dim, VectorType, spacedim>::
-MappingQEulerian (const unsigned int              degree,
-                  const VectorType               &euler_vector,
-                  const DoFHandler<dim,spacedim> &euler_dof_handler)
-  :
-  MappingQ<dim,spacedim>(degree, true),
-  euler_vector(&euler_vector),
-  euler_dof_handler(&euler_dof_handler)
-{
-  // 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<dim,VectorType,spacedim>(euler_vector,
-                          euler_dof_handler));
-
-  // also reset the qp mapping pointer with our own class
-  this->qp_mapping.reset (new MappingQEulerianGeneric(degree,*this));
-}
-
 
 
 template <int dim, class VectorType, int spacedim>
@@ -101,8 +81,8 @@ Mapping<dim,spacedim> *
 MappingQEulerian<dim, VectorType, spacedim>::clone () const
 {
   return new MappingQEulerian<dim,VectorType,spacedim>(this->get_degree(),
-                                                       *euler_vector,
-                                                       *euler_dof_handler);
+                                                       *euler_dof_handler,
+                                                       *euler_vector);
 }
 
 

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.