14#ifndef dealii_mesh_worker_local_results_h
15#define dealii_mesh_worker_local_results_h
78 template <
typename number>
127 value(
const unsigned int i)
const;
139 vector(
const unsigned int i)
const;
148 matrix(
const unsigned int i,
const bool external =
false);
157 matrix(
const unsigned int i,
const bool external =
false)
const;
212 template <
typename MatrixType>
224 template <
typename MatrixType>
244 template <
typename StreamType>
258 std::vector<number>
J;
264 std::vector<BlockVector<number>>
R;
270 std::vector<MatrixBlock<FullMatrix<number>>>
M1;
278 std::vector<MatrixBlock<FullMatrix<number>>>
M2;
288 template <
typename number>
296 template <
typename number>
304 template <
typename number>
305 template <
typename MatrixType>
311 M1.resize(matrices.
size());
313 M2.resize(matrices.
size());
314 for (
unsigned int i = 0; i < matrices.
size(); ++i)
316 const unsigned int row = matrices.
block(i).
row;
330 template <
typename number>
331 template <
typename MatrixType>
337 M1.resize(matrices.
size());
339 M2.resize(matrices.
size());
340 for (
unsigned int i = 0; i < matrices.
size(); ++i)
343 const unsigned int row = o[o.
min_level()].row;
344 const unsigned int col = o[o.
min_level()].column;
357 template <
typename number>
365 for (
unsigned int i = 0; i < n; ++i)
378 template <
typename number>
381 const unsigned int nv)
387 template <
typename number>
395 template <
typename number>
403 template <
typename number>
411 template <
typename number>
419 template <
typename number>
427 template <
typename number>
436 template <
typename number>
445 template <
typename number>
459 template <
typename number>
462 const unsigned int i)
468 template <
typename number>
476 template <
typename number>
485 template <
typename number>
494 template <
typename number>
508 template <
typename number>
511 const unsigned int i)
const
517 template <
typename number>
518 template <
typename StreamType>
522 os <<
"J: " <<
J.size() << std::endl;
523 os <<
"R: " <<
R.size() << std::endl;
524 for (
unsigned int i = 0; i <
R.size(); ++i)
526 os <<
" " <<
R[i].n_blocks() <<
" -";
527 for (
unsigned int j = 0; j <
R[i].n_blocks(); ++j)
528 os <<
' ' <<
R[i].block(j).size();
531 os <<
"M: " <<
M1.size() <<
" face " <<
M2.size() << std::endl;
532 for (
unsigned int i = 0; i <
M1.size(); ++i)
534 os <<
" " <<
M1[i].row <<
',' <<
M1[i].column <<
' '
535 <<
M1[i].matrix.m() <<
'x' <<
M1[i].matrix.n();
537 os <<
" face " <<
M2[i].row <<
',' <<
M2[i].column <<
' '
538 <<
M2[i].matrix.m() <<
'x' <<
M2[i].matrix.n();
unsigned int min_level() const
const value_type & block(size_type i) const
unsigned int size() const
unsigned int size() const
Number of stored data objects.
const value_type & block(size_type i) const
MatrixBlock< FullMatrix< number > > & matrix(const unsigned int i, const bool external=false)
unsigned int n_quadrature_values() const
BlockVector< number > & vector(const unsigned int i)
unsigned int n_vectors() const
number & quadrature_value(const unsigned int k, const unsigned int i)
std::vector< BlockVector< number > > R
std::size_t memory_consumption() const
Table< 2, number > quadrature_data
std::vector< MatrixBlock< FullMatrix< number > > > M2
void reinit(const BlockIndices &local_sizes)
void initialize_matrices(const unsigned int n, bool both)
std::vector< MatrixBlock< FullMatrix< number > > > M1
unsigned int n_values() const
void initialize_quadrature(const unsigned int np, const unsigned int nv)
Table< 2, number > & quadrature_values()
void initialize_numbers(const unsigned int n)
void initialize_vectors(const unsigned int n)
unsigned int n_matrices() const
void print_debug(StreamType &os) const
unsigned int n_quadrature_points() const
number & value(const unsigned int i)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
#define AssertIndexRange(index, range)
const bool IsBlockVector< VectorType >::value