From d8aab892ddc365f8a1850666278e3977b5e34824 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 2 Jul 2001 15:51:40 +0000 Subject: [PATCH] Don't forget explicit specialization syntax. git-svn-id: https://svn.dealii.org/trunk@4789 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_dgq_2d.cc | 4 ++++ deal.II/deal.II/source/fe/fe_q_2d.cc | 4 ++++ 2 files changed, 8 insertions(+) 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) / -- 2.39.5