From 47cab916b0ab70373074d5edf6cf8245367124a3 Mon Sep 17 00:00:00 2001 From: guido Date: Fri, 25 Jun 1999 15:59:38 +0000 Subject: [PATCH] SolverDual obsolete and removed, stuff for gcc 2.95 removed git-svn-id: https://svn.dealii.org/trunk@1472 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver.h | 40 --------------------- deal.II/lac/include/lac/solver_bicgstab.h | 5 +-- deal.II/lac/include/lac/solver_richardson.h | 3 +- 3 files changed, 5 insertions(+), 43 deletions(-) diff --git a/deal.II/lac/include/lac/solver.h b/deal.II/lac/include/lac/solver.h index a3dab8bc61..73d868cf27 100644 --- a/deal.II/lac/include/lac/solver.h +++ b/deal.II/lac/include/lac/solver.h @@ -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 SolverDual : public Solver -{ - public: - /** - * Constructor. - */ - SolverDual(SolverControl&, VectorMemory&); - - /** - * Solve the original problem - * $Ax=b$. - */ - typename Solver::ReturnState solve (const Matrix &A, - Vector &x, - const Vector &b) = 0; - - /** - * Solve the two problems - * $Ax=b1$ and $A^Tz=b2$ simultanously. - */ - typename Solver::ReturnState solve (const Matrix &A, - Vector &x, - const Vector &b1, - Vector &z, - const Vector &b2) = 0; -}; - - - - - - /*-------------------------------- Inline functions ------------------------*/ template diff --git a/deal.II/lac/include/lac/solver_bicgstab.h b/deal.II/lac/include/lac/solver_bicgstab.h index a1fc6814e9..084b7de986 100644 --- a/deal.II/lac/include/lac/solver_bicgstab.h +++ b/deal.II/lac/include/lac/solver_bicgstab.h @@ -49,7 +49,8 @@ class SolverBicgstab : public Solver * Solve primal problem only. */ template - typename Solver::ReturnState solve (const Matrix &A, + /*typename*/ + Solver::ReturnState solve (const Matrix &A, Vector &x, const Vector &b, const Preconditioner& precondition); @@ -185,7 +186,7 @@ SolverBicgstab::start() template template -typename Solver::ReturnState +/*typename*/ Solver::ReturnState SolverBicgstab::iterate(const Preconditioner& precondition) { SolverControl::State state = SolverControl::iterate; diff --git a/deal.II/lac/include/lac/solver_richardson.h b/deal.II/lac/include/lac/solver_richardson.h index f2c2b18245..8a529775d7 100644 --- a/deal.II/lac/include/lac/solver_richardson.h +++ b/deal.II/lac/include/lac/solver_richardson.h @@ -92,7 +92,8 @@ class SolverRichardson : public Solver * of the actual solution process and * deallocated at the end. */ - Vector *Vr, *Vd; + Vector *Vr; + Vector *Vd; /** * Damping parameter. -- 2.39.5