]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove Arkode::reinit_vector
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 29 Jun 2022 14:41:38 +0000 (10:41 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 29 Jun 2022 14:52:40 +0000 (10:52 -0400)
include/deal.II/sundials/arkode.h
source/sundials/arkode.cc

index ed6f30ff01c549cf4f0e9ca6e2558852b305ac50..b001106d8c79622079f64f37c739265e871528c0 100644 (file)
@@ -569,17 +569,6 @@ namespace SUNDIALS
     void *
     get_arkode_memory() const;
 
-    /**
-     * A function object that was used to `reinit` the given vector. Setting
-     * this field does no longer have any effect and all auxiliary vectors are
-     * reinit-ed automatically based on the user-supplied vector in solve_ode().
-     *
-     * @deprecated This function is no longer used and can be safely removed in
-     *   user code.
-     */
-    DEAL_II_DEPRECATED
-    std::function<void(VectorType &)> reinit_vector;
-
     /**
      * A function object that users may supply and that is intended to compute
      * the explicit part of the IVP right hand side. Sets $explicit_f = f_E(t,
index c72141037ca424493ff4637ce1399b02fe187234..9efcc895d6f8d9e13640c762b8cb28cb9a1d4a6b 100644 (file)
@@ -679,10 +679,6 @@ namespace SUNDIALS
   void
   ARKode<VectorType>::set_functions_to_trigger_an_assert()
   {
-    reinit_vector = [](VectorType &) {
-      AssertThrow(false, ExcFunctionNotProvided("reinit_vector"));
-    };
-
     solver_should_restart = [](const double, VectorType &) -> bool {
       return false;
     };

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.