From: Matthias Maier <tamiko@43-1.org>
Date: Sun, 5 Apr 2015 21:00:26 +0000 (+0200)
Subject: Provide a "vector_type" typedef in the (iterative) solver interface
X-Git-Tag: v8.3.0-rc1~319^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d542c445554c7a3b14b8dc36fc0bb9ec55cdd995;p=dealii.git

Provide a "vector_type" typedef in the (iterative) solver interface
---

diff --git a/include/deal.II/lac/solver.h b/include/deal.II/lac/solver.h
index f986658876..9f36a760e9 100644
--- a/include/deal.II/lac/solver.h
+++ b/include/deal.II/lac/solver.h
@@ -322,6 +322,11 @@ template <class VECTOR = Vector<double> >
 class Solver : public Subscriptor
 {
 public:
+  /**
+   * A typedef for the underlying vector type
+   */
+  typedef VECTOR vector_type;
+
   /**
    * Constructor. Takes a control object which evaluates the conditions for
    * convergence, and an object that allows solvers to allocate memory for