KASKADE 7 development version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Kaskade::InverseLocalMatrixStorageBase Class Reference

A base class providing common functionality for storage of inverse local matrices. More...

#include <domainDecompositionPreconditioner.hh>

Detailed Description

A base class providing common functionality for storage of inverse local matrices.

Definition at line 48 of file domainDecompositionPreconditioner.hh.

Inheritance diagram for Kaskade::InverseLocalMatrixStorageBase:
Kaskade::DenseCholeskyLocalMatrixStorage< m, Scalar > Kaskade::DenseInverseLocalMatrixStorage< m, Scalar > Kaskade::NestedDissectionCholeskyLocalMatrixStorage< m, StorageScalar, FactorizationScalar >

Public Member Functions

 InverseLocalMatrixStorageBase (std::vector< size_t > const &ap)
 
std::vector< size_t > const & indices () const
 Returns the global degrees of freedom defining the submatrix treated as a block here. More...
 
size_t storage () const
 Reports the storage size (in bytes) of the inverse block matrix. More...
 
size_t flops () const
 Reports the number of floating point operations per preconditioner application. More...
 

Protected Member Functions

template<int m, class LocalMatrix , class Real >
void regularize (LocalMatrix &aloc, Real r) const
 

Protected Attributes

size_t storageSize
 
size_t computeFlops
 

Constructor & Destructor Documentation

◆ InverseLocalMatrixStorageBase()

Kaskade::InverseLocalMatrixStorageBase::InverseLocalMatrixStorageBase ( std::vector< size_t > const &  ap)
inline

Definition at line 51 of file domainDecompositionPreconditioner.hh.

Member Function Documentation

◆ flops()

size_t Kaskade::InverseLocalMatrixStorageBase::flops ( ) const
inline

Reports the number of floating point operations per preconditioner application.

This is a (rather accurate) estimate. Depending on BLAS implementation, lower order contributions may be inaccurate.

Definition at line 80 of file domainDecompositionPreconditioner.hh.

◆ indices()

std::vector< size_t > const & Kaskade::InverseLocalMatrixStorageBase::indices ( ) const
inline

◆ regularize()

template<int m, class LocalMatrix , class Real >
void Kaskade::InverseLocalMatrixStorageBase::regularize ( LocalMatrix aloc,
Real  r 
) const
inlineprotected

Definition at line 90 of file domainDecompositionPreconditioner.hh.

◆ storage()

size_t Kaskade::InverseLocalMatrixStorageBase::storage ( ) const
inline

Reports the storage size (in bytes) of the inverse block matrix.

Minor metadata that does not scale with the matrix size is neglected.

Definition at line 69 of file domainDecompositionPreconditioner.hh.

Member Data Documentation

◆ computeFlops

size_t Kaskade::InverseLocalMatrixStorageBase::computeFlops
protected

◆ storageSize

size_t Kaskade::InverseLocalMatrixStorageBase::storageSize
protected

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