28template <
int dim,
int spacedim>
39 const std::vector<types::global_dof_index> sizes =
46 std::vector<std::vector<types::global_dof_index>> sizes(
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>
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.
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)