16 #ifndef dealii__mg_tools_h 17 #define dealii__mg_tools_h 19 #include <deal.II/base/config.h> 20 #include <deal.II/base/index_set.h> 21 #include <deal.II/dofs/dof_tools.h> 22 #include <deal.II/dofs/dof_handler.h> 28 DEAL_II_NAMESPACE_OPEN
30 template <
int dim,
int spacedim>
class DoFHandler;
49 template <
int dim,
int spacedim>
52 const unsigned int level,
53 std::vector<unsigned int> &row_lengths,
60 template <
int dim,
int spacedim>
63 const unsigned int level,
64 std::vector<unsigned int> &row_lengths,
77 template <
typename DoFHandlerType,
typename SparsityPatternType>
80 SparsityPatternType &sparsity,
81 const unsigned int level);
91 template <
int dim,
typename SparsityPatternType,
int spacedim>
94 SparsityPatternType &sparsity,
95 const unsigned int level);
103 template <
int dim,
typename SparsityPatternType,
int spacedim>
106 SparsityPatternType &sparsity,
107 const unsigned int level);
117 template <
int dim,
typename SparsityPatternType,
int spacedim>
120 SparsityPatternType &sparsity,
121 const unsigned int level,
133 template <
int dim,
typename SparsityPatternType,
int spacedim>
136 SparsityPatternType &sparsity,
137 const unsigned int level,
146 template <
typename DoFHandlerType>
149 std::vector<std::vector<types::global_dof_index> > &dofs_per_block,
150 std::vector<unsigned int> target_block = std::vector<unsigned int>());
159 template <
int dim,
int spacedim>
162 std::vector<std::vector<types::global_dof_index> > &result,
163 const bool only_once =
false,
164 std::vector<unsigned int> target_component = std::vector<unsigned int>());
185 template <
int dim,
int spacedim>
189 std::vector<std::set<types::global_dof_index> > &boundary_indices,
199 template <
int dim,
int spacedim>
203 std::vector<IndexSet> &boundary_indices,
213 template <
int dim,
int spacedim>
216 const std::set<types::boundary_id> &boundary_ids,
217 std::vector<IndexSet> &boundary_indices,
225 template <
int dim,
int spacedim>
228 std::vector<IndexSet> &interface_dofs);
231 template <
int dim,
int spacedim>
234 std::vector<std::set<types::global_dof_index> > &non_interface_dofs);
239 DEAL_II_NAMESPACE_CLOSE
std::map< types::boundary_id, const Function< dim, Number > * > type