
Public Member Functions | |
| template<int dim, int spacedim> | |
| void | initialize (const MGDoFHandler< dim, spacedim > &dof) |
| template<int dim, int spacedim> | |
| void | initialize (const MGDoFHandler< dim, spacedim > &dof, const typename FunctionMap< dim >::type &function_map, const std::vector< bool > &component_mask=std::vector< bool >()) |
| void | clear () |
| bool | is_boundary_index (const unsigned int level, const unsigned int index) const |
| bool | at_refinement_edge (const unsigned int level, const unsigned int index) const |
| bool | at_refinement_edge_boundary (const unsigned int level, const unsigned int index) const |
| const std::vector< std::set < unsigned int > > & | get_boundary_indices () const |
| const std::vector< std::vector < bool > > & | get_refinement_edge_indices () const |
| const std::vector< std::vector < bool > > & | get_refinement_edge_boundary_indices () const |
| bool | set_boundary_values () const |
| bool | continuity_across_refinement_edges () const |
Private Attributes | |
| std::vector< std::set < unsigned int > > | boundary_indices |
| std::vector< std::vector< bool > > | refinement_edge_indices |
| std::vector< std::vector< bool > > | refinement_edge_boundary_indices |
Collection of boundary constraints and refinement edge constraints for level vectors.
| void MGConstrainedDoFs::initialize | ( | const MGDoFHandler< dim, spacedim > & | dof | ) | [inline] |
Fill the internal data structures with values extracted from the dof handler.
This function leaves boundary_indices empty, since no boundary values are provided.
References MGTools::extract_inner_interface_dofs(), DoFHandler< dim, spacedim >::get_tria(), MGDoFHandler< dim, spacedim >::n_dofs(), refinement_edge_boundary_indices, and refinement_edge_indices.
| void MGConstrainedDoFs::initialize | ( | const MGDoFHandler< dim, spacedim > & | dof, |
| const typename FunctionMap< dim >::type & | function_map, | ||
| const std::vector< bool > & | component_mask = std::vector<bool>() |
||
| ) | [inline] |
Fill the internal data structures with values extracted from the dof handler, applying the boundary values provided.
References boundary_indices, MGTools::extract_inner_interface_dofs(), DoFHandler< dim, spacedim >::get_tria(), MGTools::make_boundary_list(), MGDoFHandler< dim, spacedim >::n_dofs(), refinement_edge_boundary_indices, and refinement_edge_indices.
| void MGConstrainedDoFs::clear | ( | ) | [inline] |
Reset the data structures.
References boundary_indices, refinement_edge_boundary_indices, and refinement_edge_indices.
| bool MGConstrainedDoFs::is_boundary_index | ( | const unsigned int | level, |
| const unsigned int | index | ||
| ) | const [inline] |
Determine whether a dof index is subject to a boundary constraint.
References AssertIndexRange, and boundary_indices.
| bool MGConstrainedDoFs::at_refinement_edge | ( | const unsigned int | level, |
| const unsigned int | index | ||
| ) | const [inline] |
Determine whether a dof index is at the refinement edge.
References AssertIndexRange, and refinement_edge_indices.
| bool MGConstrainedDoFs::at_refinement_edge_boundary | ( | const unsigned int | level, |
| const unsigned int | index | ||
| ) | const [inline] |
Determine whether a dof index is at the refinement edge and subject to a boundary constraint .
References AssertIndexRange, and refinement_edge_boundary_indices.
| const std::vector< std::set< unsigned int > > & MGConstrainedDoFs::get_boundary_indices | ( | ) | const [inline] |
Return the indices of dofs for each level that lie on the boundary of the domain.
References boundary_indices.
| const std::vector< std::vector< bool > > & MGConstrainedDoFs::get_refinement_edge_indices | ( | ) | const [inline] |
Return the indices of dofs for each level that lie on the refinement edge (i.e. are on faces between cells of this level and cells on the level below).
References refinement_edge_indices.
| const std::vector< std::vector< bool > > & MGConstrainedDoFs::get_refinement_edge_boundary_indices | ( | ) | const [inline] |
Return the indices of dofs for each level that are in the intersection of the sets returned by get_boundary_indices() and get_refinement_edge_indices().
References refinement_edge_boundary_indices.
| bool MGConstrainedDoFs::set_boundary_values | ( | ) | const [inline] |
Return if boundary_indices need to be set or not.
References boundary_indices.
| bool MGConstrainedDoFs::continuity_across_refinement_edges | ( | ) | const [inline] |
Return if the finite element requires continuity across refinement edges.
References refinement_edge_indices.
std::vector<std::set<unsigned int> > MGConstrainedDoFs::boundary_indices [private] |
The indices of boundary dofs for each level.
Referenced by clear(), get_boundary_indices(), initialize(), is_boundary_index(), and set_boundary_values().
std::vector<std::vector<bool> > MGConstrainedDoFs::refinement_edge_indices [private] |
The degrees of freedom on the refinement edge between a level and coarser cells.
Referenced by at_refinement_edge(), clear(), continuity_across_refinement_edges(), get_refinement_edge_indices(), and initialize().
std::vector<std::vector<bool> > MGConstrainedDoFs::refinement_edge_boundary_indices [private] |
The degrees of freedom on the refinement edge between a level and coarser cells, which are also on the boundary.
This is a subset of refinement_edge_indices.
Referenced by at_refinement_edge_boundary(), clear(), get_refinement_edge_boundary_indices(), and initialize().
documentation generated on Fri Aug 12 2011 15:01:05 by
doxygen
1.7.4