From c6b3e04ffae2a99d1bdec11cdc2cfc951e118ede Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 8 Aug 2000 15:33:52 +0000 Subject: [PATCH] Use mandated 'template <>' for specializations. git-svn-id: https://svn.dealii.org/trunk@3240 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_handler.h | 3 +++ deal.II/deal.II/include/dofs/dof_levels.h | 3 +++ deal.II/deal.II/include/multigrid/mg_dof_handler.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/deal.II/deal.II/include/dofs/dof_handler.h b/deal.II/deal.II/include/dofs/dof_handler.h index f535381414..76ef6c1ee8 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -53,6 +53,7 @@ class DoFDimensionInfo * * @author Wolfgang Bangerth, 1998 */ +template <> class DoFDimensionInfo<1> { public: @@ -86,6 +87,7 @@ class DoFDimensionInfo<1> * * @author Wolfgang Bangerth, 1998 */ +template <> class DoFDimensionInfo<2> { public: @@ -119,6 +121,7 @@ class DoFDimensionInfo<2> * * @author Wolfgang Bangerth, 1998 */ +template <> class DoFDimensionInfo<3> { public: diff --git a/deal.II/deal.II/include/dofs/dof_levels.h b/deal.II/deal.II/include/dofs/dof_levels.h index 40a3cf92de..a5c11806ea 100644 --- a/deal.II/deal.II/include/dofs/dof_levels.h +++ b/deal.II/deal.II/include/dofs/dof_levels.h @@ -81,6 +81,7 @@ class DoFLevel * * @author Wolfgang Bangerth, 1998 */ +template <> class DoFLevel<1> { public: @@ -100,6 +101,7 @@ class DoFLevel<1> * * @author Wolfgang Bangerth, 1998 */ +template <> class DoFLevel<2> : public DoFLevel<1> { public: @@ -119,6 +121,7 @@ class DoFLevel<2> : public DoFLevel<1> * * @author Wolfgang Bangerth, 1998 */ +template <> class DoFLevel<3> : public DoFLevel<2> { public: diff --git a/deal.II/deal.II/include/multigrid/mg_dof_handler.h b/deal.II/deal.II/include/multigrid/mg_dof_handler.h index 81deebfccd..083e179de0 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_handler.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_handler.h @@ -40,6 +40,7 @@ class MGDoFDimensionInfo * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. */ +template <> class MGDoFDimensionInfo<1> { public: @@ -71,6 +72,7 @@ class MGDoFDimensionInfo<1> * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. */ +template <> class MGDoFDimensionInfo<2> { public: @@ -102,6 +104,7 @@ class MGDoFDimensionInfo<2> * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. */ +template <> class MGDoFDimensionInfo<3> { public: -- 2.39.5