#include <deal.II/multigrid/mg_constrained_dofs.h>
Collection of boundary constraints and refinement edge constraints for level vectors.
Definition at line 39 of file mg_constrained_dofs.h.
Fill the internal data structures with hanging node constraints extracted from the dof handler object. Works with natural boundary conditions only. There exists a sister function setting up boundary constraints as well.
This function ensures that on every level, degrees of freedom at interior edges of a refinement level are treated corrected but leaves degrees of freedom at the boundary of the domain untouched assuming that no Dirichlet boundary conditions for them exist.
Definition at line 145 of file mg_constrained_dofs.h.
Fill the internal data structures with values extracted from the dof handler object and apply the boundary values provided.
This function internally calls the initialize() function above and the constrains degrees on the external boundary of the domain by calling MGTools::make_boundary_list() with the given second and third argument.
Definition at line 164 of file mg_constrained_dofs.h.
Fill the internal data structures with information about Dirichlet boundary dofs.
The initialize() function has to be called before to set hanging node constraints.
This function can be called multiple times to allow considering different sets of boundary_ids for different components.
Definition at line 186 of file mg_constrained_dofs.h.
Reset the data structures.
Definition at line 206 of file mg_constrained_dofs.h.
Determine whether a dof index is subject to a boundary constraint.
Definition at line 215 of file mg_constrained_dofs.h.
Determine whether a dof index is at the refinement edge.
Definition at line 227 of file mg_constrained_dofs.h.
Return the indices of level dofs on the given level that are subject to Dirichlet boundary conditions (as set by the
function_map parameter in initialize()). The indices are restricted to the set of locally relevant level dofs.
Definition at line 240 of file mg_constrained_dofs.h.
Return the indices of dofs on the given level that lie on an refinement edge (dofs on faces to neighbors that are coarser).
Definition at line 250 of file mg_constrained_dofs.h.
Return if Dirichlet boundary indices are set in initialize().
Definition at line 261 of file mg_constrained_dofs.h.
The indices of boundary dofs for each level.
Definition at line 132 of file mg_constrained_dofs.h.
The degrees of freedom on a given level that live on the refinement edge between the level and cells on a coarser level.
Definition at line 138 of file mg_constrained_dofs.h.