// $Id$
// Version: $Name$
//
-// Copyright (C) 2004, 2005 by the deal.II authors
+// Copyright (C) 2004, 2005, 2006 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
#include <base/config.h>
#include <base/exceptions.h>
+#include <base/subscriptor.h>
#include <lac/exceptions.h>
#include <lac/block_indices.h>
*/
template <class VectorType>
class BlockVectorBase
+ : public Subscriptor
{
public:
/**
#include <base/config.h>
#include <base/exceptions.h>
+#include <base/subscriptor.h>
#include <cstdio>
* @author Guido Kanschat, Franz-Theo Suttmeier, Wolfgang Bangerth
*/
template <typename Number>
-class Vector
+class Vector :
+ public Subscriptor
{
public:
/**
template <typename Number>
Vector<Number>::Vector (const Vector<Number>& v)
- :
+ : Subscriptor(),
vec_size(v.size()),
max_vec_size(v.size()),
val(0)
template <typename Number>
template <typename OtherNumber>
Vector<Number>::Vector (const Vector<OtherNumber>& v)
- :
+ : Subscriptor(),
vec_size(v.size()),
max_vec_size(v.size()),
val(0)
template <typename Number>
Vector<Number>::Vector (const PETScWrappers::Vector &v)
- :
+ : Subscriptor(),
vec_size(v.size()),
max_vec_size(v.size()),
val(0)
template <typename Number>
Vector<Number>::Vector (const PETScWrappers::MPI::Vector &v)
- :
+ : Subscriptor(),
vec_size(0),
max_vec_size(0),
val(0)
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