|
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.
16 #ifndef dealii_block_info_h
17 #define dealii_block_info_h
32 template <
int dim,
int spacedim>
36 template <
int dim,
int spacedim>
115 template <
int dim,
int spacedim>
118 bool levels_only =
false,
119 bool active_only =
false);
126 template <
int dim,
int spacedim>
129 bool levels_only =
false,
130 bool active_only =
false);
136 template <
int dim,
int spacedim>
145 template <
int dim,
int spacedim>
177 renumber(
const unsigned int i)
const;
196 print(OS &stream)
const;
209 template <
class Archive>
211 serialize(Archive &ar,
const unsigned int );
296 for (
unsigned int i = 0; i <
global().
size(); ++i)
300 if (
local().size() == 0)
302 os <<
"local dofs not initialized" << std::endl;
308 for (
unsigned int i = 0; i <
local().
size(); ++i)
313 for (
unsigned int l = 0;
l <
levels.size(); ++
l)
315 os <<
"level " << std::setw(2) <<
l <<
" dofs " << std::setw(5)
317 for (
unsigned int i = 0; i <
level(
l).
size(); ++i)
334 template <
class Archive>
const BlockIndices & level(unsigned int level) const
void initialize_local(const DoFHandler< dim, spacedim > &)
Initialize block structure on cells and compute renumbering between cell dofs and block cell dofs.
unsigned int size() const
BlockIndices bi_local
The block structure of the cell systems.
std::size_t memory_consumption() const
const BlockIndices & global() const
#define AssertIndexRange(index, range)
size_type block_size(const unsigned int i) const
unsigned int n_base_elements() const
void serialize(Archive &ar, const unsigned int)
size_type total_size() const
const BlockIndices & local() 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.
types::global_dof_index renumber(const unsigned int i) const
std::vector< types::global_dof_index > local_renumbering
#define DEAL_II_NAMESPACE_OPEN
std::enable_if< std::is_fundamental< T >::value, std::size_t >::type memory_consumption(const T &t)
Tensor< 2, dim, Number > l(const Tensor< 2, dim, Number > &F, const Tensor< 2, dim, Number > &dF_dt)
unsigned int base_element(const unsigned int i) const
void print(OS &stream) const
std::vector< unsigned int > base_elements
A small class collecting the different BlockIndices involved in global, multilevel and local computat...
#define DEAL_II_NAMESPACE_CLOSE
BlockIndices bi_global
The block structure of the global system.