Reference documentation for deal.II version 8.5.1
Public Member Functions | Public Attributes | List of all members
internal::MatrixFreeFunctions::SizeInfo Struct Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SizeInfo()

internal::MatrixFreeFunctions::SizeInfo::SizeInfo ( )

Constructor.

Member Function Documentation

◆ clear()

void internal::MatrixFreeFunctions::SizeInfo::clear ( )

Clear all data fields and resets the sizes to zero.

◆ print_memory_statistics()

template<typename StreamType >
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.

◆ make_layout()

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.

Member Data Documentation

◆ locally_owned_cells

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.

◆ communicator

MPI_Comm internal::MatrixFreeFunctions::SizeInfo::communicator

MPI communicator

Definition at line 130 of file helper_functions.h.


The documentation for this struct was generated from the following file: