DEAL_II_NAMESPACE_OPEN
+template <int dim, int spacedim> class MGDoFHandler;
+template <int dim> class FunctionMap;
+
/**
* Collection of boundary constraints and refinement edge constraints
* for level vectors.
*/
template <int dim, int spacedim>
void initialize(const MGDoFHandler<dim,spacedim>& dof);
-
+
/**
* Fill the internal data
* structures with values
* 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<std::set<unsigned int> > boundary_indices;
+
/**
* The degrees of freedom on the
* refinement edge between a
* level and coarser cells.
*/
std::vector<std::vector<bool> > refinement_edge_indices;
-
+
/**
* The degrees of freedom on the
* refinement edge between a
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());
}