]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add an assertion.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Jun 2005 20:20:05 +0000 (20:20 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 20 Jun 2005 20:20:05 +0000 (20:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@10894 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_tools.cc

index dc14f1ff1830be7c8300bc7da70c111bd88ec9f1..08ea2dfb17fdcc641563176ecad46da9d15c2e7b 100644 (file)
@@ -582,6 +582,8 @@ FETools::compute_embedding_matrices(const FiniteElement<dim>& fe,
          if (std::fabs(this_matrix(i,j)) < 1e-12)
            this_matrix(i,j) = 0.;
     }
+  Assert (cell_number == GeometryInfo<dim>::children_per_cell,
+          ExcInternalError());
 }
 
 

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.