From: wolf Date: Mon, 2 Oct 2000 13:33:46 +0000 (+0000) Subject: Don't use empty class decls {};, but rather put the braces on separate lines. This... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa4beb97cd37cea1dbb3343b17c5d400215ae613;p=dealii-svn.git Don't use empty class decls {};, but rather put the braces on separate lines. This avoid confusing kdoc which only reads the opening brace and thinks that all that is following in this file is local to the class that was opened. git-svn-id: https://svn.dealii.org/trunk@3370 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 1770c7d84e..a63945377e 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -33,6 +33,7 @@ template class TriaIterator; template class TriaActiveIterator; template class Triangulation; + /** * Define some types which differ between the dimensions. This class * is analogous to the @ref{TriaDimensionInfo} class hierarchy. @@ -44,7 +45,9 @@ template class Triangulation; */ template class DoFDimensionInfo -{}; +{ +}; + /** @@ -1151,6 +1154,7 @@ class DoFHandler : public Subscriptor, }; + /* ----------------------- Inline functions ---------------------------------- */ @@ -1162,6 +1166,7 @@ unsigned int DoFHandler::n_dofs () const }; + template inline const FiniteElement & DoFHandler::get_fe () const diff --git a/deal.II/deal.II/include/grid/grid_out.h b/deal.II/deal.II/include/grid/grid_out.h index cb9638ab80..553ed40e99 100644 --- a/deal.II/deal.II/include/grid/grid_out.h +++ b/deal.II/deal.II/include/grid/grid_out.h @@ -253,7 +253,8 @@ class GridOut */ template struct EpsFlags : public EpsFlagsBase - {}; + { + }; //#if (__GNUC__==2) && (__GNUC_MINOR__ < 95) // template <> diff --git a/deal.II/deal.II/include/grid/tria.h b/deal.II/deal.II/include/grid/tria.h index a437192dbf..1c8b78fa84 100644 --- a/deal.II/deal.II/include/grid/tria.h +++ b/deal.II/deal.II/include/grid/tria.h @@ -158,7 +158,8 @@ struct SubCellData */ template class TriaDimensionInfo -{}; +{ +}; @@ -345,7 +346,8 @@ class TriaDimensionInfo<3> */ template struct TriaNumberCache -{}; +{ +}; /** * Cache class used to store the number of used and active elements diff --git a/deal.II/deal.II/include/grid/tria_levels.h b/deal.II/deal.II/include/grid/tria_levels.h index 0f1e0de6b4..dc4341c7f9 100644 --- a/deal.II/deal.II/include/grid/tria_levels.h +++ b/deal.II/deal.II/include/grid/tria_levels.h @@ -31,7 +31,8 @@ */ template class TriangulationLevel -{}; +{ +}; /** diff --git a/deal.II/deal.II/include/multigrid/mg_dof_accessor.h b/deal.II/deal.II/include/multigrid/mg_dof_accessor.h index a0d2e3fea0..9818eb400b 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_accessor.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_accessor.h @@ -161,7 +161,8 @@ class MGDoFObjectAccessor_Inheritance template class MGDoFObjectAccessor : public MGDoFAccessor, public MGDoFObjectAccessor_Inheritance::BaseClass -{}; +{ +}; /** 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 083e179de0..6257e280f3 100644 --- a/deal.II/deal.II/include/multigrid/mg_dof_handler.h +++ b/deal.II/deal.II/include/multigrid/mg_dof_handler.h @@ -31,7 +31,8 @@ template class MGDoFObjectAccessor; */ template class MGDoFDimensionInfo -{}; +{ +}; diff --git a/deal.II/lac/include/lac/solver_cg.h b/deal.II/lac/include/lac/solver_cg.h index f46afc73ed..9e04fa9134 100644 --- a/deal.II/lac/include/lac/solver_cg.h +++ b/deal.II/lac/include/lac/solver_cg.h @@ -53,7 +53,9 @@ class SolverCG : private Solver * solver. This solver does not * need additional data yet. */ - struct AdditionalData {}; + struct AdditionalData + { + }; /** * Constructor. diff --git a/deal.II/lac/include/lac/solver_minres.h b/deal.II/lac/include/lac/solver_minres.h index 1119e34a33..b332dff9d0 100644 --- a/deal.II/lac/include/lac/solver_minres.h +++ b/deal.II/lac/include/lac/solver_minres.h @@ -57,7 +57,9 @@ class SolverMinRes : private Solver * solver. This solver does not * need additional data yet. */ - struct AdditionalData {}; + struct AdditionalData + { + }; /** * Constructor. diff --git a/deal.II/lac/include/lac/solver_qmrs.h b/deal.II/lac/include/lac/solver_qmrs.h index ae929e11b0..8cf343f4b1 100644 --- a/deal.II/lac/include/lac/solver_qmrs.h +++ b/deal.II/lac/include/lac/solver_qmrs.h @@ -85,11 +85,13 @@ class SolverQMRS : private Solver double breakdown=1.e-16) : exact_residual(exact_residual), breakdown(breakdown) - {} + {}; + /** * Flag for exact computation of residual. */ bool exact_residual; + /** * Breakdown threshold. */