]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
changes @include/deal.II/matrix_free/dof_info.h
authorkainan.wang <kainan.wang@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Feb 2013 07:58:51 +0000 (07:58 +0000)
committerkainan.wang <kainan.wang@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Feb 2013 07:58:51 +0000 (07:58 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_3@28218 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/matrix_free/dof_info.h

index da6d5f9c1b4e59d016acf252a87c67445a57e6e5..8e678a069718ca4ec1af4a1e14e8fd62f51a7253 100644 (file)
@@ -70,13 +70,13 @@ namespace internal
        * Returns a pointer to the first index in the
        * DoF row @p row.
        */
-      const unsigned int *begin_indices (const unsigned int row) const;
+      const types::global_dof_index *begin_indices (const unsigned int row) const;
 
       /**
        * Returns a pointer to the one past the last
        * DoF index in the row @p row.
        */
-      const unsigned int *end_indices (const unsigned int row) const;
+      const types::global_dof_index *end_indices (const unsigned int row) const;
 
       /**
        * Returns the number of entries in the
@@ -111,7 +111,7 @@ namespace internal
        * entries where constraints are not
        * embedded).
        */
-      const unsigned int *begin_indices_plain (const unsigned int row) const;
+      const types::global_dof_index *begin_indices_plain (const unsigned int row) const;
 
       /**
        * Returns a pointer to the one past the last
@@ -119,7 +119,7 @@ namespace internal
        * entries where constraints are not
        * embedded).
        */
-      const unsigned int *end_indices_plain (const unsigned int row) const;
+      const types::global_dof_index *end_indices_plain (const unsigned int row) const;
 
       /**
        * Returns the FE index for a given finite
@@ -311,7 +311,7 @@ namespace internal
        * Renumbers the degrees of freedom to give
        * good access for this class.
        */
-      void renumber_dofs (std::vector<unsigned int> &renumbering);
+      void renumber_dofs (std::vector<types::global_dof_index> &renumbering);
 
       /**
        * Returns the memory consumption in bytes of
@@ -355,8 +355,8 @@ namespace internal
        * not all vector components are filled.
        */
       std::vector<std_cxx1x::tuple<unsigned int,
-          unsigned int,
-          unsigned int> > row_starts;
+       unsigned int,
+       unsigned int> > row_starts;
 
       /**
        * Stores the (global) indices of the degrees of
@@ -369,7 +369,7 @@ namespace internal
        * contiguous memory region and store the
        * rowstart in the variable @p row_starts.
        */
-      std::vector<unsigned int> dof_indices;
+      std::vector<types::global_dof_index> dof_indices;
 
       /**
        * This variable describes the position of
@@ -403,15 +403,15 @@ namespace internal
        * owned degrees of freedom that are
        * constrained.
        */
-      std::vector<unsigned int> constrained_dofs;
+      std::vector<types::global_dof_index> constrained_dofs;
 
       /**
        * Stores the rowstart indices of the
        * compressed row storage in the @p
-       * dof_indices_plain
+       * plain_dof_indices
        * fields.
        */
-      std::vector<unsigned int> row_starts_plain_indices;
+      std::vector<types::global_dof_index> row_starts_plain_indices;
 
       /**
        * Stores the indices of the degrees of
@@ -424,7 +424,7 @@ namespace internal
        * memory region and store the rowstart in the
        * variable @p row_starts_plain_indices.
        */
-      std::vector<unsigned int> plain_dof_indices;
+      std::vector<types::global_dof_index> plain_dof_indices;
 
       /**
        * Stores the number of components in the
@@ -478,7 +478,7 @@ namespace internal
        * assign_ghosts. Then, all information is
        * collected by the partitioner.
        */
-      std::vector<unsigned int> ghost_dofs;
+      std::vector<types::global_dof_index> ghost_dofs;
     };
 
 
@@ -487,7 +487,7 @@ namespace internal
 #ifndef DOXYGEN
 
     inline
-    const unsigned int *
+      const types::global_dof_index *
     DoFInfo::begin_indices (const unsigned int row) const
     {
       AssertIndexRange (row, row_starts.size()-1);
@@ -499,7 +499,7 @@ namespace internal
 
 
     inline
-    const unsigned int *
+      const types::global_dof_index *
     DoFInfo::end_indices (const unsigned int row) const
     {
       AssertIndexRange (row, row_starts.size()-1);

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.