]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make clang happy with default template argument and use better exception.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 00:16:16 +0000 (00:16 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 00:16:16 +0000 (00:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@24131 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_q.cc
deal.II/source/fe/fe_q_hierarchical.cc
deal.II/source/fe/fe_raviart_thomas_nodal.cc

index 979dd3b4e34411285054d0b01cd4772b74ff8245..ca205683cab58ffe3e91870692bbdd8e29e8b488 100644 (file)
@@ -778,12 +778,10 @@ get_interpolation_matrix (const FiniteElement<dim,spacedim> &x_source_fe,
 template <>
 void
 FE_Q<1>::
-get_face_interpolation_matrix (const FiniteElement<1> &/*x_source_fe*/,
+get_face_interpolation_matrix (const FiniteElement<1,1> &/*x_source_fe*/,
                               FullMatrix<double>     &/*interpolation_matrix*/) const
 {
-  Assert (false,
-         FiniteElement<1>::
-         ExcInterpolationNotImplemented ());
+  Assert (false, ExcImpossibleInDim(1));
 }
 
 
@@ -791,13 +789,11 @@ get_face_interpolation_matrix (const FiniteElement<1> &/*x_source_fe*/,
 template <>
 void
 FE_Q<1>::
-get_subface_interpolation_matrix (const FiniteElement<1> &/*x_source_fe*/,
+get_subface_interpolation_matrix (const FiniteElement<1,1> &/*x_source_fe*/,
                                  const unsigned int      /*subface*/,
                                  FullMatrix<double>     &/*interpolation_matrix*/) const
 {
-  Assert (false,
-         FiniteElement<1>::
-         ExcInterpolationNotImplemented ());
+  Assert (false, ExcImpossibleInDim(1));
 }
 
 
index 106fa8e24e5541114d6170e2fe9a3b50a0513c6d..71b999d68108a286ace0ed9a42465a15703ead80 100644 (file)
@@ -587,25 +587,21 @@ void FE_Q_Hierarchical<1>::initialize_unit_face_support_points ()
 
 template <>
 void FE_Q_Hierarchical<1>::
-get_face_interpolation_matrix (const FiniteElement<1> &/*x_source_fe*/,
+get_face_interpolation_matrix (const FiniteElement<1,1> &/*x_source_fe*/,
                               FullMatrix<double>     &/*interpolation_matrix*/) const
 {
-  Assert (false,
-         FiniteElement<1>::
-         ExcInterpolationNotImplemented ());
+  Assert (false, ExcImpossibleInDim(1));
 }
 
 
 template <>
 void
 FE_Q_Hierarchical<1>::
-get_subface_interpolation_matrix (const FiniteElement<1> &/*x_source_fe*/,
+get_subface_interpolation_matrix (const FiniteElement<1,1> &/*x_source_fe*/,
                                  const unsigned int      /*subface*/,
                                  FullMatrix<double>     &/*interpolation_matrix*/) const
 {
-  Assert (false,
-         FiniteElement<1>::
-         ExcInterpolationNotImplemented ());
+  Assert (false, ExcImpossibleInDim(1));
 }
 
 
index 479c1e2b31518b799897621bc6f48eff7621ea2b..4f6c20da65d096035fb9337521a2b716b9f6a98f 100644 (file)
@@ -542,7 +542,7 @@ FE_RaviartThomasNodal<dim>::compare_for_face_domination (
 template <>
 void
 FE_RaviartThomasNodal<1>::get_face_interpolation_matrix (
-  const FiniteElement<1> &/*x_source_fe*/,
+  const FiniteElement<1,1> &/*x_source_fe*/,
   FullMatrix<double>     &/*interpolation_matrix*/) const
 {
   Assert (false, ExcImpossibleInDim(1));
@@ -552,7 +552,7 @@ FE_RaviartThomasNodal<1>::get_face_interpolation_matrix (
 template <>
 void
 FE_RaviartThomasNodal<1>::get_subface_interpolation_matrix (
-  const FiniteElement<1> &/*x_source_fe*/,
+  const FiniteElement<1,1> &/*x_source_fe*/,
   const unsigned int      /*subface*/,
   FullMatrix<double>     &/*interpolation_matrix*/) const
 {

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.