28template <
int dim,
int spacedim>
34 Assert(dof.has_hp_capabilities() ==
false,
39 const std::vector<types::global_dof_index> sizes =
46 std::vector<std::vector<types::global_dof_index>> sizes(
47 dof.get_triangulation().n_levels(),
48 std::vector<types::global_dof_index>(dof.get_fe().n_blocks()));
51 levels.resize(sizes.size());
53 for (
unsigned int i = 0; i < sizes.size(); ++i)
54 levels[i].reinit(sizes[i]);
60template <
int dim,
int spacedim>
64 Assert(dof.has_hp_capabilities() ==
false,
68 std::vector<types::global_dof_index> sizes(fe.n_blocks());
81#include "block_info.inst"
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
std::vector< types::global_dof_index > local_renumbering
std::vector< BlockIndices > levels
The multilevel block structure.
BlockIndices bi_global
The block structure of the global system.
BlockIndices bi_local
The block structure of the cell systems.
std::vector< unsigned int > base_elements
void initialize_local(const DoFHandler< dim, spacedim > &)
Initialize block structure on cells and compute renumbering between cell dofs and block cell dofs.
void initialize(const DoFHandler< dim, spacedim > &, bool levels_only=false, bool active_only=false)
Fill the object with values describing block structure of the DoFHandler.
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)