]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Deprecate FEValues::transform(). 1513/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 2 Sep 2015 18:31:17 +0000 (13:31 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 2 Sep 2015 18:51:54 +0000 (13:51 -0500)
I don't see the use of this function given that all the
transformations from reference to real cell should actually go
through the Mapping classes directly. The function is also not
used anywhere.

Fixes #1509. In reference to #1198.

doc/news/changes.h
include/deal.II/fe/fe_values.h

index e0b6ed0ef7ac46a1db738ece716122934406ac97..a22bbd2ee9fec9dc65e9a3ef68f99d1f955afce1 100644 (file)
@@ -240,6 +240,13 @@ inconvenience this causes.
 
 
 <ol>
+  <li> Changed: FEValues::transform() has been deprecated. The functionality
+  of this function is a (small) subset of what the Mapping classes
+  already provide.
+  <br>
+  (Wolfgang Bangerth, 2015/09/02)
+  </li>
+
   <li> New: introduced hp::FECollection::find_least_face_dominating_fe(const std::set<unsigned int> &fes)
   which aims to find the least dominating finite element w.r.t. those provided
   as fe_indices in @p fes.
index 7e39b1961b231f657f15774c1279504d1a1be05f..123984957af7aafb1653efb05ae66cef5fc60cdb 100644 (file)
@@ -2215,10 +2215,12 @@ public:
   /**
    * Transform a set of vectors, one for each quadrature point. The
    * <tt>mapping</tt> can be any of the ones defined in MappingType.
+   *
+   * @deprecated Use the various Mapping::transform() functions instead.
    */
   void transform (std::vector<Tensor<1,spacedim> > &transformed,
                   const std::vector<Tensor<1,dim> > &original,
-                  MappingType mapping) const;
+                  MappingType mapping) const DEAL_II_DEPRECATED;
 
   //@}
 

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.