]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Resolve some exception problem
authorkainan.wang <kainan.wang@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Apr 2013 23:27:33 +0000 (23:27 +0000)
committerkainan.wang <kainan.wang@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Apr 2013 23:27:33 +0000 (23:27 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29158 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/partitioner.h
deal.II/include/deal.II/dofs/block_info.h

index 736a238499369f12345603e453e71b91c2f07941..c1862ef9dc8fde6f4eb30dbbd4a1a47e40bef6ea 100644 (file)
@@ -284,7 +284,8 @@ namespace Utilities
        * Exception
        */
       DeclException2 (ExcIndexNotPresent,
-                      unsigned int, unsigned int,
+                      types::global_dof_index, 
+                     unsigned int,
                       << "Global index " << arg1
                       << " neither owned nor ghost on proc " << arg2);
 
index b428e19ee2cd6b0ceed497cdccf60a2f1731a238..ccd162ac0339a9d8d03c9a5bfc9ee7eade133943 100644 (file)
@@ -158,7 +158,7 @@ public:
    * in the standard local
    * numbering of DoFAccessor.
    */
-  types::global_dof_index renumber (const types::global_dof_index i) const;
+  types::global_dof_index renumber (const unsigned int i) const;
 
   /**
    * The number of base elements.
@@ -259,7 +259,7 @@ BlockInfo::level (const unsigned int l) const
 
 
 inline
-types::global_dof_index BlockInfo::renumber (const types::global_dof_index i) const
+types::global_dof_index BlockInfo::renumber (const unsigned int i) const
 {
   AssertIndexRange(i, local_renumbering.size());
   return local_renumbering[i];

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.