From: wolf Date: Mon, 2 Jul 2001 15:51:40 +0000 (+0000) Subject: Don't forget explicit specialization syntax. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce42af7fda0f521c024ba5aa6ae8f0402b0b003;p=dealii-svn.git Don't forget explicit specialization syntax. git-svn-id: https://svn.dealii.org/trunk@4789 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_dgq_2d.cc b/deal.II/deal.II/source/fe/fe_dgq_2d.cc index a0d4d579d4..d8a638a9c1 100644 --- a/deal.II/deal.II/source/fe/fe_dgq_2d.cc +++ b/deal.II/deal.II/source/fe/fe_dgq_2d.cc @@ -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]); diff --git a/deal.II/deal.II/source/fe/fe_q_2d.cc b/deal.II/deal.II/source/fe/fe_q_2d.cc index aa9422a8e0..bc7cb0ee71 100644 --- a/deal.II/deal.II/source/fe/fe_q_2d.cc +++ b/deal.II/deal.II/source/fe/fe_q_2d.cc @@ -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) /