From 703a583415eb7a4ec8cf638763414ad15864bdc7 Mon Sep 17 00:00:00 2001 From: Stefano Zampini Date: Tue, 1 Aug 2023 18:16:46 +0200 Subject: [PATCH] PETScWrappers::TimeStepper: make setup_xxx calls private --- include/deal.II/lac/petsc_ts.h | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/include/deal.II/lac/petsc_ts.h b/include/deal.II/lac/petsc_ts.h index a994e8b146..7f32ec650b 100644 --- a/include/deal.II/lac/petsc_ts.h +++ b/include/deal.II/lac/petsc_ts.h @@ -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 -- 2.39.5