Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
internal::MatrixFreeFunctions::SizeInfo Struct Reference

#include <helper_functions.h>

Public Member Functions

 SizeInfo ()
 
void clear ()
 
template<typename STREAM >
void print_memory_statistics (STREAM &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

unsigned int n_active_cells
 
unsigned int n_macro_cells
 
unsigned int boundary_cells_start
 
unsigned int boundary_cells_end
 
unsigned int vectorization_length
 
IndexSet locally_owned_cells
 
IndexSet ghost_cells
 
MPI_Comm communicator
 
unsigned int my_pid
 
unsigned int n_procs
 

Detailed Description

A struct that collects all information related to the size of the problem and MPI parallelization.

Definition at line 93 of file helper_functions.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 917 of file matrix_free.templates.h.

Member Function Documentation

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

Clears all data fields and resets the sizes to zero.

Definition at line 924 of file matrix_free.templates.h.

template<typename STREAM >
void internal::MatrixFreeFunctions::SizeInfo::print_memory_statistics ( STREAM &  out,
std::size_t  data_length 
) const

Prints minimum, average, and maximal memory consumption over the MPI processes.

Definition at line 941 of file matrix_free.templates.h.

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 
)
inline

Determines the position of cells with ghosts for distributed-memory calculations.

Definition at line 969 of file matrix_free.templates.h.

Member Data Documentation

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 136 of file helper_functions.h.

MPI_Comm internal::MatrixFreeFunctions::SizeInfo::communicator

MPI communicator

Definition at line 142 of file helper_functions.h.


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