]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't forget explicit specialization syntax.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 15:51:40 +0000 (15:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 15:51:40 +0000 (15:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@4789 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_dgq_2d.cc
deal.II/deal.II/source/fe/fe_q_2d.cc

index a0d4d579d4f44955677fbdd074929817240d38a9..d8a638a9c1d8afc4f67569b5a0fac5266ca3289c 100644 (file)
@@ -428,6 +428,7 @@ namespace FE_DGQ_2d
 };
 
 
+template <>
 const double * const FE_DGQ<2>::Matrices::embedding[] =
 {
       FE_DGQ_2d::dgq0_into_dgq0_refined,
@@ -439,11 +440,13 @@ const double * const FE_DGQ<2>::Matrices::embedding[] =
       FE_DGQ_2d::dgq6_into_dgq6_refined
 };
 
+template <>
 const unsigned int FE_DGQ<2>::Matrices::n_embedding_matrices
   = sizeof(FE_DGQ<2>::Matrices::embedding) /
     sizeof(FE_DGQ<2>::Matrices::embedding[0]);
 
 
+template <>
 const double * const FE_DGQ<2>::Matrices::projection_matrices[] =
 {
       FE_DGQ_2d::dgq0_refined_onto_dgq0,
@@ -457,6 +460,7 @@ const double * const FE_DGQ<2>::Matrices::projection_matrices[] =
 };
 
 
+template <>
 const unsigned int FE_DGQ<2>::Matrices::n_projection_matrices
   = sizeof(FE_DGQ<2>::Matrices::projection_matrices) /
     sizeof(FE_DGQ<2>::Matrices::projection_matrices[0]);
index aa9422a8e0a10b0c42b8dc118d388b69efccbb46..bc7cb0ee7163d7786bd1dad0164f3097afa54897 100644 (file)
@@ -190,6 +190,7 @@ namespace FE_Q_2d
 
 // embedding matrices
 
+template <>
 const double * const 
 FE_Q<2>::Matrices::embedding[][GeometryInfo<2>::children_per_cell] =
 {
@@ -202,6 +203,7 @@ FE_Q<2>::Matrices::embedding[][GeometryInfo<2>::children_per_cell] =
 };
 
 
+template <>
 const unsigned int
 FE_Q<2>::Matrices::n_embedding_matrices
   = sizeof(FE_Q<2>::Matrices::embedding) /
@@ -245,6 +247,7 @@ namespace FE_Q_2d
 };
 
 
+template <>
 const double * const 
 FE_Q<2>::Matrices::constraint_matrices[] =
 {
@@ -255,6 +258,7 @@ FE_Q<2>::Matrices::constraint_matrices[] =
 };
 
 
+template <>
 const unsigned int 
 FE_Q<2>::Matrices::n_constraint_matrices
   = sizeof(FE_Q<2>::Matrices::constraint_matrices) /

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.