]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Provide storage for static member variables.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 Jun 2001 13:48:21 +0000 (13:48 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 Jun 2001 13:48:21 +0000 (13:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@4759 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/tensor.cc

index e1cb7d13d0a9686e7504c3b2d8fe83517d0a7bbf..86efca7a03c221de8bc538c3f8ba30b7e104e409 100644 (file)
 #include <lac/vector.h>
 
 
+// storage for static variables
+template <int dim>
+const unsigned int Tensor<1,dim>::dimension;
+
+template <int rank, int dim>
+const unsigned int Tensor<rank,dim>::dimension;
+
+
 template <int dim>
 void
 Tensor<1,dim>::unroll( Vector<double>& result) const

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.