From 6b0c2eeda60b7d73a5f978fa7a0b6c5b9b23b99b Mon Sep 17 00:00:00 2001 From: hartmann Date: Fri, 19 Nov 1999 13:48:40 +0000 Subject: [PATCH] change some members from private to protected git-svn-id: https://svn.dealii.org/trunk@1897 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver_selector.h | 33 ++++++++++++----------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/deal.II/lac/include/lac/solver_selector.h b/deal.II/lac/include/lac/solver_selector.h index cd1c1ff63a..000f250763 100644 --- a/deal.II/lac/include/lac/solver_selector.h +++ b/deal.II/lac/include/lac/solver_selector.h @@ -108,7 +108,7 @@ class SolverSelector Vector &x, const Vector &b, const Preconditioner &precond) const; - + /** * Set the additional data. For more * info see the #Solver# class. @@ -150,12 +150,27 @@ class SolverSelector string, << "Solver " << arg1 << " does not exist. Use one of " << endl << get_solver_names()); - private: + protected: /** * Stores the Name of the solver. */ string solver_name; + + /** + * Stores the #SolverControl# that + * is needed in the constructor of + * each #Solver# class. + */ + SmartPointer control; + + /** + * Stores the #VectorMemory# that + * is needed in the constructor of + * each #Solver# class. + */ + SmartPointer > vector_memory; + private: /** * Stores the additional data. */ @@ -175,20 +190,6 @@ class SolverSelector * Stores the additional data. */ typename SolverGMRES::AdditionalData gmres_data; - - /** - * Stores the #SolverControl# that - * is needed in the constructor of - * each #Solver# class. - */ - SmartPointer control; - - /** - * Stores the #VectorMemory# that - * is needed in the constructor of - * each #Solver# class. - */ - SmartPointer > vector_memory; }; -- 2.39.5