From: Wolfgang Bangerth Date: Tue, 8 Aug 2000 15:19:53 +0000 (+0000) Subject: Properly give some classes a body in order not to confuse our forward_declarations... X-Git-Tag: v8.0.0~20191 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca4536022beefe00f26835bd9a35296e9b4a4c53;p=dealii.git Properly give some classes a body in order not to confuse our forward_declarations.pl script. git-svn-id: https://svn.dealii.org/trunk@3238 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/dofs/dof_handler.h b/deal.II/deal.II/include/dofs/dof_handler.h index edbf9d2dc0..f535381414 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -38,15 +38,20 @@ template class Triangulation; * * @see DoFDimensionInfo<1> * @see DoFDimensionInfo<2> + * + * @author Wolfgang Bangerth, 1998 */ template -class DoFDimensionInfo; +class DoFDimensionInfo +{}; /** * Define some types for the DoF handling in one dimension. * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. + * + * @author Wolfgang Bangerth, 1998 */ class DoFDimensionInfo<1> { @@ -78,6 +83,8 @@ class DoFDimensionInfo<1> * Define some types for the DoF handling in two dimensions. * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. + * + * @author Wolfgang Bangerth, 1998 */ class DoFDimensionInfo<2> { @@ -109,6 +116,8 @@ class DoFDimensionInfo<2> * Define some types for the DoF handling in two dimensions. * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<3>}. + * + * @author Wolfgang Bangerth, 1998 */ class DoFDimensionInfo<3> { diff --git a/deal.II/deal.II/include/grid/tria.h b/deal.II/deal.II/include/grid/tria.h index 8b3282dde9..c7c2ae11a8 100644 --- a/deal.II/deal.II/include/grid/tria.h +++ b/deal.II/deal.II/include/grid/tria.h @@ -109,12 +109,17 @@ struct SubCellData { /** - * This class implements some types which differ between the dimensions. - * Declare it to have a template parameter, but do not actually declare - * other types than those explicitely instantiated. + * This class implements some types which differ between the + * dimensions. Declare it to have a template parameter, but do not + * actually declare anything concrete apart from the other classes + * which are explicitely instantiated ones with the same name. + * + * @author Wolfgang Bangerth, 1998 */ template -class TriaDimensionInfo; +class TriaDimensionInfo +{}; + /** @@ -142,9 +147,12 @@ class TriaDimensionInfo; * The same applies for the @p{face_iterator} types, since lines * have no substructures apart from vertices, which are handled in * a different way, however. + * + * @author Wolfgang Bangerth, 1998 */ template <> -class TriaDimensionInfo<1> { +class TriaDimensionInfo<1> +{ public: typedef TriaRawIterator<1,CellAccessor<1> > raw_line_iterator; typedef TriaIterator<1,CellAccessor<1> > line_iterator; @@ -168,6 +176,7 @@ class TriaDimensionInfo<1> { }; + /** * This class implements some types which differ between the dimensions. * These are the declararions for the 2D case only. @@ -199,9 +208,12 @@ class TriaDimensionInfo<1> { * typedef line_iterator face_iterator; * typedef active_line_iterator active_face_iterator; * @end{verbatim} + * + * @author Wolfgang Bangerth, 1998 */ template <> -class TriaDimensionInfo<2> { +class TriaDimensionInfo<2> +{ public: typedef TriaRawIterator<2,TriaObjectAccessor<1, 2> > raw_line_iterator; typedef TriaIterator<2,TriaObjectAccessor<1, 2> > line_iterator; @@ -225,6 +237,7 @@ class TriaDimensionInfo<2> { }; + /** * This class implements some types which differ between the dimensions. * These are the declararions for the 3D case only. @@ -241,9 +254,12 @@ class TriaDimensionInfo<2> { * typedef quad_iterator face_iterator; * typedef active_quad_iterator active_face_iterator; * @end{verbatim} + * + * @author Wolfgang Bangerth, 1998 */ template <> -class TriaDimensionInfo<3> { +class TriaDimensionInfo<3> +{ public: typedef TriaRawIterator<3,TriaObjectAccessor<1, 3> > raw_line_iterator; typedef TriaIterator<3,TriaObjectAccessor<1, 3> > line_iterator; @@ -267,6 +283,7 @@ class TriaDimensionInfo<3> { }; + /*------------------------------------------------------------------------*/ /** 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 f8ec5145e9..81deebfccd 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_handler.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_handler.h @@ -30,7 +30,9 @@ template class MGDoFObjectAccessor; * @see MGDoFDimensionInfo<2> */ template -class MGDoFDimensionInfo; +class MGDoFDimensionInfo +{}; + /** @@ -38,7 +40,8 @@ class MGDoFDimensionInfo; * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. */ -class MGDoFDimensionInfo<1> { +class MGDoFDimensionInfo<1> +{ public: typedef TriaRawIterator<1,MGDoFCellAccessor<1> > raw_line_iterator; typedef TriaIterator<1,MGDoFCellAccessor<1> > line_iterator; @@ -62,12 +65,14 @@ class MGDoFDimensionInfo<1> { }; + /** * Define some types for the DoF handling in two dimensions. * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. */ -class MGDoFDimensionInfo<2> { +class MGDoFDimensionInfo<2> +{ public: typedef TriaRawIterator<2,MGDoFObjectAccessor<1, 2> > raw_line_iterator; typedef TriaIterator<2,MGDoFObjectAccessor<1, 2> > line_iterator; @@ -91,12 +96,14 @@ class MGDoFDimensionInfo<2> { }; + /** * Define some types for the DoF handling in two dimensions. * * The types have the same meaning as those declared in @ref{TriaDimensionInfo<2>}. */ -class MGDoFDimensionInfo<3> { +class MGDoFDimensionInfo<3> +{ public: typedef TriaRawIterator<3,MGDoFObjectAccessor<1, 3> > raw_line_iterator; typedef TriaIterator<3,MGDoFObjectAccessor<1, 3> > line_iterator; @@ -120,6 +127,7 @@ class MGDoFDimensionInfo<3> { }; + /** * This class manages degrees of freedom for a multilevel hierarchy of * grids. It does mostly the same as does the @p{DoDHandler} class, but