Reference documentation for deal.II version 8.5.1
|
#include <deal.II/matrix_free/helper_functions.h>
Public Member Functions | |
SizeInfo () | |
void | clear () |
template<typename StreamType > | |
void | print_memory_statistics (StreamType &out, std::size_t data_length) const |
void | make_layout (const unsigned int n_active_cells_in, const unsigned int vectorization_length_in, std::vector< unsigned int > &boundary_cells, std::vector< unsigned int > &irregular_cells) |
Public Attributes | |
IndexSet | locally_owned_cells |
MPI_Comm | communicator |
A struct that collects all information related to the size of the problem and MPI parallelization.
Definition at line 85 of file helper_functions.h.
internal::MatrixFreeFunctions::SizeInfo::SizeInfo | ( | ) |
Constructor.
void internal::MatrixFreeFunctions::SizeInfo::clear | ( | ) |
Clear all data fields and resets the sizes to zero.
void internal::MatrixFreeFunctions::SizeInfo::print_memory_statistics | ( | StreamType & | out, |
std::size_t | data_length | ||
) | const |
Prints minimum, average, and maximal memory consumption over the MPI processes.
void internal::MatrixFreeFunctions::SizeInfo::make_layout | ( | const unsigned int | n_active_cells_in, |
const unsigned int | vectorization_length_in, | ||
std::vector< unsigned int > & | boundary_cells, | ||
std::vector< unsigned int > & | irregular_cells | ||
) |
Determines the position of cells with ghosts for distributed-memory calculations.
IndexSet internal::MatrixFreeFunctions::SizeInfo::locally_owned_cells |
index sets to describe the layout of cells: locally owned cells and locally active cells
Definition at line 124 of file helper_functions.h.
MPI_Comm internal::MatrixFreeFunctions::SizeInfo::communicator |
MPI communicator
Definition at line 130 of file helper_functions.h.