]> https://gitweb.dealii.org/ - dealii.git/commitdiff
PETScWrappers::TimeStepper: make setup_xxx calls private
authorStefano Zampini <stefano.zampini@gmail.com>
Tue, 1 Aug 2023 16:16:46 +0000 (18:16 +0200)
committerStefano Zampini <stefano.zampini@gmail.com>
Tue, 1 Aug 2023 16:16:46 +0000 (18:16 +0200)
include/deal.II/lac/petsc_ts.h

index a994e8b146ed136761f7578088b04d5dc828a539..7f32ec650b1f3b6ca3281dbb085825529b8f3728 100644 (file)
@@ -456,26 +456,6 @@ namespace PETScWrappers
     unsigned int
     solve(VectorType &y, AMatrixType &A, PMatrixType &P);
 
-    /**
-     * Setup callbacks.
-     *
-     * This function is called inside TimeStepper::solve routines and does
-     * not need to be called by the user. It is used to reinitialize the
-     * solver if mesh adaption has been performed.
-     */
-    void
-    setup_callbacks();
-
-    /**
-     * Setup algebraic constraints.
-     *
-     * This function is called inside TimeStepper::solve routines and does
-     * not need to be called by the user. It is used to reinitialize the
-     * solver if mesh adaption has been performed.
-     */
-    void
-    setup_algebraic_constraints(const VectorType &y);
-
     /**
      * Callback for the computation of the implicit residual $F(t, y, \dot y)$.
      *
@@ -696,6 +676,26 @@ namespace PETScWrappers
      * Internal data to handle recoverable errors.
      */
     bool error_in_function;
+
+    /**
+     * Setup callbacks.
+     *
+     * This function is called inside TimeStepper::solve routines and does
+     * not need to be called by the user. It is used to reinitialize the
+     * solver if mesh adaption has been performed.
+     */
+    void
+    setup_callbacks();
+
+    /**
+     * Setup algebraic constraints.
+     *
+     * This function is called inside TimeStepper::solve routines and does
+     * not need to be called by the user. It is used to reinitialize the
+     * solver if mesh adaption has been performed.
+     */
+    void
+    setup_algebraic_constraints(const VectorType &y);
   };
 
 } // namespace PETScWrappers

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.