]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated function ThetaTimestepping::operator().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 31 Dec 2014 18:40:13 +0000 (12:40 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 4 Jan 2015 21:13:46 +0000 (15:13 -0600)
doc/news/changes.h
include/deal.II/algorithms/theta_timestepping.h
include/deal.II/algorithms/theta_timestepping.templates.h
tests/algorithms/theta_01_compat.cc

index 97a953ee5fc06cc91eaa406109ccc99886f78369..fe2bc47379ea4c4647e5a7bac627e3b56c9cf5fb 100644 (file)
@@ -59,6 +59,7 @@ inconvenience this causes.
   - The version of GridGenerator::parallelogram where the corners are given
     as a rank-2 tensor rather than as an array of points.
   - DataOutBase::create_xdmf_entry with 3 arguments.
+  - ThetaTimestepping::operator().
 </ol>
 
   <li> Removed: The config.h file no longer exports HAVE_* definitions.
index e24c3a01944c95062453b820ee4cf84be3068457..04a930c9ea6185a8268c4c198eeecfa67fe76a4b 100644 (file)
@@ -211,11 +211,6 @@ namespace Algorithms
      */
     virtual void operator() (AnyData &out, const AnyData &in);
 
-    /**
-     * @deprecated Use  the function with AnyData arguments
-     */
-    virtual void operator() (NamedData<VECTOR *> &out, const NamedData<VECTOR *> &in);
-
     /**
      * Register an event triggered by an outer iteration.
      */
index 1ab1ec6aae641b04c30905251c2951add6ff6926..f53557bfa75afe88bbc0d42d6f42f937576bfc2a 100644 (file)
@@ -68,14 +68,6 @@ namespace Algorithms
   }
 
 
-  template <class VECTOR>
-  void
-  ThetaTimestepping<VECTOR>::operator() (NamedData<VECTOR *> &out, const NamedData<VECTOR *> &in)
-  {
-    Operator<VECTOR>::operator() (out, in);
-  }
-
-
   template <class VECTOR>
   void
   ThetaTimestepping<VECTOR>::operator() (AnyData &out, const AnyData &in)
index 734ea5062babd3843b8a080ed7ec229ae6f09e88..09f72a844f048fb53b97598c5b13a2cc87decc08 100644 (file)
@@ -95,7 +95,7 @@ int main()
   outdata.add(p, "value");
   deallog << "Initial: " << value(0) << ' ' << value(1) << std::endl;
   solver.notify(Events::initial);
-  solver(outdata, indata);
+  solver.Operator<Vector<double> >::operator()(outdata, indata);
   deallog << "Result: " << value(0) << ' ' << value(1)
          << " Norm " << value.l2_norm() << std::endl;
 }

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.