]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
change some members from private to protected
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 1999 13:48:40 +0000 (13:48 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 1999 13:48:40 +0000 (13:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@1897 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/solver_selector.h

index cd1c1ff63a696496a57f912b90d6cd0e129392dc..000f2507632e5b2edb8fa7933eecdaf2fc1398a7 100644 (file)
@@ -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<SolverControl> control;
+
+                                    /**
+                                     * Stores the #VectorMemory# that
+                                     * is needed in the constructor of
+                                     * each #Solver# class.
+                                     */
+    SmartPointer<VectorMemory<Vector> > vector_memory;
 
+  private:
                                     /**
                                      * Stores the additional data.
                                      */
@@ -175,20 +190,6 @@ class SolverSelector
                                      * Stores the additional data.
                                      */
     typename SolverGMRES<Matrix,Vector>::AdditionalData gmres_data;
-
-                                    /**
-                                     * Stores the #SolverControl# that
-                                     * is needed in the constructor of
-                                     * each #Solver# class.
-                                     */
-    SmartPointer<SolverControl> control;
-
-                                    /**
-                                     * Stores the #VectorMemory# that
-                                     * is needed in the constructor of
-                                     * each #Solver# class.
-                                     */
-    SmartPointer<VectorMemory<Vector> > vector_memory;
 };
 
 

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.