From 2d95d2847cbda8e8a9e3c117ec78f1fc11c61e98 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 19 Mar 2010 14:00:56 +0000 Subject: [PATCH] Correct compile error. git-svn-id: https://svn.dealii.org/trunk@20851 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/include/multigrid/mg_constraints.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/include/multigrid/mg_constraints.h b/deal.II/deal.II/include/multigrid/mg_constraints.h index dd009b95b6..1d0df91266 100644 --- a/deal.II/deal.II/include/multigrid/mg_constraints.h +++ b/deal.II/deal.II/include/multigrid/mg_constraints.h @@ -21,6 +21,9 @@ DEAL_II_NAMESPACE_OPEN +template class MGDoFHandler; +template class FunctionMap; + /** * Collection of boundary constraints and refinement edge constraints * for level vectors. @@ -41,7 +44,7 @@ class MGConstraints : public Subscriptor */ template void initialize(const MGDoFHandler& dof); - + /** * Fill the internal data * structures with values @@ -65,26 +68,27 @@ class MGConstraints : public Subscriptor * constraint. */ bool at_boundary(unsigned int level, unsigned int index) const; - + /** * Determine whether a dof index * is at the refinement edge. */ bool at_refinement_edge(unsigned int level, unsigned int index) const; - + private: /** * The indices of boundary dofs * for each level. */ std::vector > boundary_indices; + /** * The degrees of freedom on the * refinement edge between a * level and coarser cells. */ std::vector > refinement_edge_indices; - + /** * The degrees of freedom on the * refinement edge between a @@ -99,10 +103,10 @@ class MGConstraints : public Subscriptor bool -MGConstraints::at_boundary(unsigned int level, unsigned int index) +MGConstraints::at_boundary(unsigned int level, unsigned int index) const { AssertIndexRange(level, boundary_indices.size()); - AssertIndexRange(level, boundary_indices.size()); + AssertIndexRange(level, boundary_indices.size()); } -- 2.39.5