KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::InverseLocalMatrixStorageBase Class Reference

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

#include <domainDecompositionPreconditioner.hh>

Inheritance diagram for Kaskade::InverseLocalMatrixStorageBase:
Kaskade::DenseCholeskyLocalMatrixStorage< components, Scalar > Kaskade::DenseInverseLocalMatrixStorage< components, Scalar > Kaskade::NestedDissectionCholeskyLocalMatrixStorage< components, StorageScalar, FactorizationScalar > 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.
size_t storage () const
 Reports the storage size (in bytes) of the inverse block matrix.
size_t flops () const
 Reports the number of floating point operations per preconditioner application.

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

Detailed Description

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

Definition at line 48 of file domainDecompositionPreconditioner.hh.

Constructor & Destructor Documentation

◆ InverseLocalMatrixStorageBase()

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

◆ regularize()

◆ 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

Definition at line 87 of file domainDecompositionPreconditioner.hh.

Referenced by flops().

◆ storageSize

size_t Kaskade::InverseLocalMatrixStorageBase::storageSize
protected

Definition at line 86 of file domainDecompositionPreconditioner.hh.

Referenced by storage().


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