]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Hide implementation details
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Jun 2007 08:28:41 +0000 (08:28 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Jun 2007 08:28:41 +0000 (08:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@14781 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/compressed_sparsity_pattern.h

index f6d79cb5d9ec32ddd8ec80a76fc4022bd0959f6f..f199538b7752959d767d41a778f641b26169bdfc 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -388,6 +388,13 @@ class CompressedSparsityPattern : public Subscriptor
                                       */
     struct Line
     {
+      private:
+                                         /**
+                                          * Size of the cache.
+                                          */
+        static const unsigned int cache_size = 8;        
+
+      public:
                                          /**
                                           * Storage for the column indices of
                                           * this row, unless they are still in
@@ -396,11 +403,6 @@ class CompressedSparsityPattern : public Subscriptor
                                           */
         mutable std::vector<unsigned int> entries;
 
-                                         /**
-                                          * Size of the cache.
-                                          */
-        static const unsigned int cache_size = 8;
-        
                                          /**
                                           * Cache of entries that have not yet
                                           * been written to #entries;

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.