28 template <
int dim,
int spacedim>
36 const std::vector<types::global_dof_index> sizes =
43 std::vector<std::vector<types::global_dof_index>> sizes(
45 std::vector<types::global_dof_index>(dof.
get_fe().n_blocks()));
48 levels.resize(sizes.size());
50 for (
unsigned int i = 0; i < sizes.size(); ++i)
57 template <
int dim,
int spacedim>
71 template <
int dim,
int spacedim>
76 std::vector<types::global_dof_index> sizes(fe.
n_blocks());
90 template <
int dim,
int spacedim>
99 #include "block_info.inst" const Triangulation< dim, spacedim > & get_triangulation() const
void reinit(MatrixBlock< MatrixType > &v, const BlockSparsityPattern &p)
std::vector< types::global_dof_index > local_renumbering
#define AssertThrow(cond, exc)
const FiniteElement< dim, spacedim > & get_fe(const unsigned int index=0) const
unsigned int n_blocks() const
bool has_active_dofs() const
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
#define DEAL_II_NAMESPACE_CLOSE
std::pair< unsigned int, unsigned int > block_to_base_index(const unsigned int block) const
BlockIndices bi_global
The block structure of the global system.
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.
void initialize_local(const DoFHandler< dim, spacedim > &)
Initialize block structure on cells and compute renumbering between cell dofs and block cell dofs...
std::vector< BlockIndices > levels
The multilevel block structure.
unsigned int n_dofs_per_cell() const
#define DEAL_II_NAMESPACE_OPEN
static ::ExceptionBase & ExcNotImplemented()
BlockIndices bi_local
The block structure of the cell systems.
bool has_level_dofs() const
std::vector< unsigned int > base_elements