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

#include <helper_functions.h>

Public Member Functions

 TaskInfo ()
 
void clear ()
 
std::size_t memory_consumption () const
 

Public Attributes

unsigned int block_size
 
unsigned int n_blocks
 
unsigned int block_size_last
 
unsigned int position_short_block
 
bool use_multithreading
 
bool use_partition_partition
 
bool use_coloring_only
 
std::vector< unsigned intpartition_color_blocks_row_index
 
std::vector< unsigned intpartition_color_blocks_data
 
unsigned int evens
 
unsigned int odds
 
unsigned int n_blocked_workers
 
unsigned int n_workers
 
std::vector< unsigned intpartition_evens
 
std::vector< unsigned intpartition_odds
 
std::vector< unsigned intpartition_n_blocked_workers
 
std::vector< unsigned intpartition_n_workers
 

Detailed Description

A struct that collects all information related to parallelization with threads: The work is subdivided into tasks that can be done independently.

Definition at line 46 of file helper_functions.h.

Constructor & Destructor Documentation

internal::MatrixFreeFunctions::TaskInfo::TaskInfo ( )

Constructor.

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

Member Function Documentation

void internal::MatrixFreeFunctions::TaskInfo::clear ( )

Clears all the data fields and resets them to zero.

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

std::size_t internal::MatrixFreeFunctions::TaskInfo::memory_consumption ( ) const

Returns the memory consumption of the class.

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


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