|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
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"
void initialize_local(const DoFHandler< dim, spacedim > &)
Initialize block structure on cells and compute renumbering between cell dofs and block cell dofs.
static ::ExceptionBase & ExcNotImplemented()
BlockIndices bi_local
The block structure of the cell systems.
std::pair< unsigned int, unsigned int > block_to_base_index(const unsigned int block) const
unsigned int n_blocks() const
std::vector< BlockIndices > levels
The multilevel block structure.
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_level_dofs() const
const Triangulation< dim, spacedim > & get_triangulation() const
void reinit(MatrixBlock< MatrixType > &v, const BlockSparsityPattern &p)
std::vector< types::global_dof_index > local_renumbering
#define DEAL_II_NAMESPACE_OPEN
std::vector< unsigned int > base_elements
void reinit(const unsigned int n_blocks, const size_type n_elements_per_block)
bool has_active_dofs() const
#define DEAL_II_NAMESPACE_CLOSE
unsigned int n_dofs_per_cell() const
const FiniteElement< dim, spacedim > & get_fe(const unsigned int index=0) const
#define AssertThrow(cond, exc)
BlockIndices bi_global
The block structure of the global system.