]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
SolverDual obsolete and removed, stuff for gcc 2.95 removed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Jun 1999 15:59:38 +0000 (15:59 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Jun 1999 15:59:38 +0000 (15:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@1472 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/solver.h
deal.II/lac/include/lac/solver_bicgstab.h
deal.II/lac/include/lac/solver_richardson.h

index a3dab8bc614fff5d43343d9390729f04fb67a356..73d868cf271e3944bd2398118122055a9f11bee3 100644 (file)
@@ -172,46 +172,6 @@ class Solver
 };
 
 
-
-
-
-/**
- * Base class for non-symmetric linear solvers.  A second entry point
- * allows the simultaneous computation of a dual problem.
- */
-template<class Matrix, class Vector>
-class SolverDual : public Solver<Matrix, Vector>
-{
-  public:
-                                    /**
-                                     * Constructor.
-                                     */
-    SolverDual(SolverControl&, VectorMemory<Vector>&);
-    
-                                    /**
-                                     * Solve the original problem
-                                     * $Ax=b$.
-                                     */
-    typename Solver<Matrix,Vector>::ReturnState solve (const Matrix &A,
-                                                      Vector       &x,
-                                                      const Vector &b) = 0;
-
-                                    /**
-                                     * Solve the two problems
-                                     * $Ax=b1$ and $A^Tz=b2$ simultanously.
-                                     */
-    typename Solver<Matrix,Vector>::ReturnState solve (const Matrix &A,
-                                                      Vector       &x,
-                                                      const Vector &b1,
-                                                      Vector       &z,
-                                                      const Vector &b2) = 0;
-};
-
-
-
-
-
-
 /*-------------------------------- Inline functions ------------------------*/
 
 template <class Matrix, class Vector>
index a1fc6814e93ad6151d1dcef1848b6d0639fc95cd..084b7de986f2cc51c946c3e17bf2377b2cb13980 100644 (file)
@@ -49,7 +49,8 @@ class SolverBicgstab : public Solver<Matrix,Vector>
                                      * Solve primal problem only.
                                      */
     template<class Preconditioner>
-    typename Solver<Matrix,Vector>::ReturnState solve (const Matrix &A,
+                                    /*typename*/
+    Solver<Matrix,Vector>::ReturnState solve (const Matrix &A,
                                                       Vector       &x,
                                                       const Vector &b,
                                                       const Preconditioner& precondition);
@@ -185,7 +186,7 @@ SolverBicgstab<Matrix, Vector>::start()
 
 template<class Matrix, class Vector>
 template<class Preconditioner>
-typename Solver<Matrix,Vector>::ReturnState
+/*typename*/ Solver<Matrix,Vector>::ReturnState
 SolverBicgstab<Matrix, Vector>::iterate(const Preconditioner& precondition)
 {
   SolverControl::State state = SolverControl::iterate;
index f2c2b18245bb895282ad686281ae31974892a414..8a529775d74ea1c98235ff84966d18721dcd3652 100644 (file)
@@ -92,7 +92,8 @@ class SolverRichardson : public Solver<Matrix, Vector>
                                      * of the actual solution process and
                                      * deallocated at the end.
                                      */
-    Vector *Vr, *Vd;
+    Vector *Vr;
+    Vector *Vd;
 
                                     /**
                                      * Damping parameter.

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.