]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Dont use AssertThrow when throwing exceptions that are specified in the documentation...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jul 2000 12:48:14 +0000 (12:48 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Jul 2000 12:48:14 +0000 (12:48 +0000)
git-svn-id: https://svn.dealii.org/trunk@3123 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_lib.cubic.cc
deal.II/deal.II/source/fe/fe_lib.dgp1.cc
deal.II/deal.II/source/fe/fe_lib.dgp2.cc
deal.II/deal.II/source/fe/fe_lib.dgp3.cc
deal.II/deal.II/source/fe/fe_lib.linear.cc
deal.II/deal.II/source/fe/fe_lib.quadratic.cc

index 8e896aae4f9f53ed56464f9075efdfb2a5273a96..a1913c760d05e34d36d66897465acabe8dbf3ebe 100644 (file)
@@ -11388,7 +11388,7 @@ FEQ3<3>::get_local_mass_matrix (const DoFHandler<3>::cell_iterator &,
   Assert (local_mass_matrix.m() == dofs_per_cell,
          ExcWrongFieldDimension(local_mass_matrix.m(),dofs_per_cell));
 
-  AssertThrow (false, ExcComputationNotUseful(3));
+  throw ExcComputationNotUseful(3);
 };
 
 
index fb40f756fa183632bc641a0d3c766b81da48a71b..86cd4e655a0e32d089c39c1d9eafb82c8ea9dda9 100644 (file)
@@ -329,7 +329,7 @@ void FEDG_P1<3>::get_local_mass_matrix (const DoFHandler<3>::cell_iterator &,
   Assert (local_mass_matrix.m() == dofs_per_cell,
          ExcWrongFieldDimension(local_mass_matrix.m(),dofs_per_cell));
 
-  AssertThrow (false, ExcComputationNotUseful(3));
+  throw ExcComputationNotUseful(3);
 };
 
 
index 223ddaa531d5b06fa89dd18b0df0f876ed08cc78..7b28e1349e82f5c2d6c2a5ec40a9d5f8368c7f12 100644 (file)
@@ -312,7 +312,7 @@ void FEDG_P2<3>::get_local_mass_matrix (const DoFHandler<3>::cell_iterator &,
   Assert (local_mass_matrix.m() == dofs_per_cell,
          ExcWrongFieldDimension(local_mass_matrix.m(),dofs_per_cell));
 
-  AssertThrow (false, ExcComputationNotUseful(3));
+  throw ExcComputationNotUseful(3);
 };
 
 
index 87774d197d3e1c6fd6d1a8c4fe4e0b4086be1c01..30779596169d6ae979f78977b935f706e20e6790 100644 (file)
@@ -323,7 +323,7 @@ void FEDG_P3<3>::get_local_mass_matrix (const DoFHandler<3>::cell_iterator &,
   Assert (local_mass_matrix.m() == dofs_per_cell,
          ExcWrongFieldDimension(local_mass_matrix.m(),dofs_per_cell));
 
-  AssertThrow (false, ExcComputationNotUseful(3));
+  throw ExcComputationNotUseful(3);
 };
 
 
index 37906ffe413e0350fc14cf9c93d79f65c99c5ada..7d87fcc15582954cedfbe9c58cfbfa6a7279f4e8 100644 (file)
@@ -839,7 +839,7 @@ void FEQ1<3>::get_local_mass_matrix (const DoFHandler<3>::cell_iterator &,
   Assert (local_mass_matrix.m() == dofs_per_cell,
          ExcWrongFieldDimension(local_mass_matrix.m(),dofs_per_cell));
 
-  AssertThrow (false, ExcComputationNotUseful(3));
+  throw ExcComputationNotUseful(3);
 };
 
 
index 229af02ed4bad82bf7e2a3cfd7affbf6bb7e96d6..16cc49675a784aaef86be0b797fd3a39be084ed0 100644 (file)
@@ -2802,7 +2802,7 @@ void FEQ2<3>::get_local_mass_matrix (const DoFHandler<3>::cell_iterator &,
   Assert (local_mass_matrix.m() == dofs_per_cell,
          ExcWrongFieldDimension(local_mass_matrix.m(),dofs_per_cell));
 
-  AssertThrow (false, ExcComputationNotUseful(3));
+  throw ExcComputationNotUseful(3);
 };
 
 

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.