Dune Core Modules (2.6.0)

Dune::CompressionStatistics< size_type > Struct Template Reference

Statistics about compression achieved in implicit mode. More...

#include <dune/istl/bcrsmatrix.hh>

Public Attributes

double avg
 average number of non-zeroes per row.
 
size_type maximum
 maximum number of non-zeroes per row.
 
size_type overflow_total
 total number of elements written to the overflow area during construction.
 
double mem_ratio
 fraction of wasted memory resulting from non-used overflow area. More...
 

Detailed Description

template<typename size_type>
struct Dune::CompressionStatistics< size_type >

Statistics about compression achieved in implicit mode.

To enable the user to tune parameters of the implicit build mode of a Dune::BCRSMatrix manually, some statistics are exported upon during the compression step.

Member Data Documentation

◆ mem_ratio

template<typename size_type >
double Dune::CompressionStatistics< size_type >::mem_ratio

fraction of wasted memory resulting from non-used overflow area.

mem_ratio is equal to nonzeros()/(# allocated matrix entries).


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)