From 8bc72399b53831fbc840358df2fda8f35f0302d7 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 21 Aug 2011 04:07:38 +0000 Subject: [PATCH] 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 --- .../deal.II/multigrid/mg_constrained_dofs.h | 32 +++++++++---------- .../deal.II/multigrid/mg_dof_accessor.h | 4 +-- .../deal.II/multigrid/mg_dof_handler.h | 6 ++-- 3 files changed, 21 insertions(+), 21 deletions(-) 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 -- 2.39.5