]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the deprecated constructor of MappingQEulerian.
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 5 May 2017 21:40:40 +0000 (15:40 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 5 May 2017 21:40:40 +0000 (15:40 -0600)
include/deal.II/fe/mapping_q1_eulerian.h
source/fe/mapping_q1_eulerian.cc
source/fe/mapping_q_eulerian.cc

index d7b7483483393ff906d40048ebb59fdebeb81bbf..85c3ffc8d9599d00c76c7ff704c360d6b167b127 100644 (file)
@@ -108,13 +108,6 @@ public:
   MappingQ1Eulerian (const DoFHandler<dim,spacedim> &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<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 5534097355536b79d9c5fee4dbd078e263aac745..2be82243058abe6860ed19006c72ed957ecd0674 100644 (file)
@@ -46,17 +46,6 @@ MappingQ1Eulerian (const DoFHandler<dim,spacedim> &shiftmap_dof_handler,
 {}
 
 
-template <int dim, class VectorType, int spacedim>
-MappingQ1Eulerian<dim, VectorType, spacedim>::
-MappingQ1Eulerian (const VectorType               &euler_transform_vectors,
-                   const DoFHandler<dim,spacedim> &shiftmap_dof_handler)
-  :
-  MappingQGeneric<dim,spacedim>(1),
-  euler_transform_vectors(&euler_transform_vectors),
-  shiftmap_dof_handler(&shiftmap_dof_handler)
-{}
-
-
 
 template <int dim, class VectorType, int spacedim>
 std::array<Point<spacedim>, GeometryInfo<dim>::vertices_per_cell>
index 0bba0e460fc034d34cd7e8562188516507943212..4b7ec43102aacfaf1ffff06254a18c27ef456f2b 100644 (file)
@@ -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<dim,VectorType,spacedim>(euler_vector,
-                          euler_dof_handler));
+  this->q1_mapping.reset (new MappingQ1Eulerian<dim,VectorType,spacedim>(euler_dof_handler,
+                          euler_vector));
 
   // also reset the qp mapping pointer with our own class
   this->qp_mapping.reset (new MappingQEulerianGeneric(degree,*this));

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.