From: Wolfgang Bangerth Date: Sun, 21 Aug 2011 04:07:38 +0000 (+0000) Subject: It makes Clang happier if we forward declare things as struct instead of class if... X-Git-Tag: v8.0.0~3616 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d1eb43ab66e51586a5624f21afaca465b91b0c;p=dealii.git It makes Clang happier if we forward declare things as struct instead of class if they are in fact declared as structs. git-svn-id: https://svn.dealii.org/trunk@24152 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/multigrid/mg_constrained_dofs.h b/deal.II/include/deal.II/multigrid/mg_constrained_dofs.h index 805b43bf7d..ed4db82c04 100644 --- a/deal.II/include/deal.II/multigrid/mg_constrained_dofs.h +++ b/deal.II/include/deal.II/multigrid/mg_constrained_dofs.h @@ -1,7 +1,7 @@ //--------------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2010 by the deal.II authors +// Copyright (C) 2010, 2011 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -23,7 +23,7 @@ DEAL_II_NAMESPACE_OPEN template class MGDoFHandler; -template class FunctionMap; +template struct FunctionMap; /** @@ -83,7 +83,7 @@ class MGConstrainedDoFs : public Subscriptor /** * Determine whether a dof index - * is at the refinement edge and + * is at the refinement edge and * subject to a boundary * constraint . */ @@ -119,14 +119,14 @@ class MGConstrainedDoFs : public Subscriptor get_refinement_edge_boundary_indices () const; /** - * Return if boundary_indices need to + * Return if boundary_indices need to * be set or not. */ bool set_boundary_values () const; /** - * Return if the finite element requires + * Return if the finite element requires * continuity across refinement edges. */ bool continuity_across_refinement_edges () const; @@ -171,7 +171,7 @@ MGConstrainedDoFs::initialize(const MGDoFHandler& dof) refinement_edge_indices[l].resize(dof.n_dofs(l)); refinement_edge_boundary_indices[l].resize(dof.n_dofs(l)); } - MGTools::extract_inner_interface_dofs (dof, refinement_edge_indices, + MGTools::extract_inner_interface_dofs (dof, refinement_edge_indices, refinement_edge_boundary_indices); } @@ -188,30 +188,30 @@ MGConstrainedDoFs::initialize( boundary_indices.resize(nlevels); refinement_edge_indices.resize(nlevels); refinement_edge_boundary_indices.resize(nlevels); - + for(unsigned int l=0; l * Destructor */ virtual ~MGDoFHandler (); - + /** * Go through the triangulation * and distribute the degrees of