27template <
int dim,
int spacedim>
38 const std::vector<types::global_dof_index> sizes =
45 std::vector<std::vector<types::global_dof_index>> sizes(
50 levels.resize(sizes.size());
52 for (
unsigned int i = 0; i < sizes.size(); ++i)
53 levels[i].reinit(sizes[i]);
59template <
int dim,
int spacedim>
67 std::vector<types::global_dof_index> sizes(fe.
n_blocks());
80#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.
bool has_active_dofs() const
const FiniteElement< dim, spacedim > & get_fe(const types::fe_index index=0) const
const Triangulation< dim, spacedim > & get_triangulation() const
bool has_hp_capabilities() const
bool has_level_dofs() const
unsigned int n_dofs_per_cell() const
unsigned int n_blocks() const
std::pair< unsigned int, unsigned int > block_to_base_index(const unsigned int block) const
unsigned int n_levels() const
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define Assert(cond, exc)