17 #ifndef __deal2__mg_tools_h
18 #define __deal2__mg_tools_h
20 #include <deal.II/base/config.h>
21 #include <deal.II/base/index_set.h>
22 #include <deal.II/dofs/dof_tools.h>
23 #include <deal.II/dofs/dof_handler.h>
29 DEAL_II_NAMESPACE_OPEN
32 template <
int dim,
int spacedim>
class DoFHandler;
33 template <
typename number>
class Vector;
59 template <
int dim,
int spacedim>
62 const unsigned int level,
63 std::vector<unsigned int> &row_lengths,
72 template <
int dim,
int spacedim>
75 const unsigned int level,
76 std::vector<unsigned int> &row_lengths,
94 template <
class DH,
class SparsityPattern>
98 const unsigned int level);
106 template <
int dim,
class SparsityPattern,
int spacedim>
110 const unsigned int level);
122 template <
int dim,
class SparsityPattern,
int spacedim>
126 const unsigned int level);
144 template <
int dim,
class SparsityPattern,
int spacedim>
148 const unsigned int level,
164 template <
int dim,
class SparsityPattern,
int spacedim>
168 const unsigned int level,
184 std::vector<std::vector<types::global_dof_index> > &dofs_per_block,
185 std::vector<unsigned int> target_block = std::vector<unsigned int>());
197 template <
int dim,
int spacedim>
200 std::vector<std::vector<types::global_dof_index> > &result,
201 const bool only_once =
false,
202 std::vector<unsigned int> target_component = std::vector<unsigned int>());
209 template <
int dim,
int spacedim>
212 std::vector<std::vector<types::global_dof_index> > &result,
237 template <
int dim,
int spacedim>
241 std::vector<std::set<types::global_dof_index> > &boundary_indices,
249 template <
int dim,
int spacedim>
253 std::vector<IndexSet> &boundary_indices,
259 template <
typename number>
263 const bool preserve_symmetry,
269 template <
typename number>
292 template <
int dim,
int spacedim>
295 std::vector<std::vector<bool> > &interface_dofs,
296 std::vector<std::vector<bool> > &boundary_interface_dofs);
302 template <
int dim,
int spacedim>
305 std::vector<std::vector<bool> > &interface_dofs);
307 template <
int dim,
int spacedim>
310 std::vector<std::set<types::global_dof_index> > &non_interface_dofs);
315 DEAL_II_NAMESPACE_CLOSE
std::map< types::boundary_id, const Function< dim > * > type
BlockCompressedSparsityPattern CompressedBlockSparsityPattern DEAL_II_DEPRECATED