DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::linearAlgebra::LapackErrorMsg Class Reference

A class to map Error to a message. More...

#include <LinearAlgebraTypes.h>

Static Public Member Functions

static LapackError isSuccessAndMsg (const LapackErrorCode &errorCode)
 

Static Private Attributes

static const std::map< LapackErrorCode, std::string > d_errToMsgMap
 

Detailed Description

A class to map Error to a message.

Note
: This class only has static const data members.

Member Function Documentation

◆ isSuccessAndMsg()

LapackError dftefe::linearAlgebra::LapackErrorMsg::isSuccessAndMsg ( const LapackErrorCode errorCode)
static
Here is the caller graph for this function:

Member Data Documentation

◆ d_errToMsgMap

const std::map< LapackErrorCode, std::string > dftefe::linearAlgebra::LapackErrorMsg::d_errToMsgMap
staticprivate
Initial value:
= {
{LapackErrorCode::SUCCESS, "Success. "},
"Dense matrix inversion failed with either lapack::getrf or lapack::getri with error codes: "},
"Triangular matrix inversion failed with error code: "},
"Cholesky factorization failed with error code: "},
"Real Tridiagonal Standard eigenproblem decomposition failed with error code: "},
"Standard eigenproblem decomposition failed with error code: "},
"Generalized eigenproblem decomposition failed with error code: "},
"Linear System Solve with lapackpp gesv failed with error code: "},
{LapackErrorCode::OTHER_ERROR, "Other Error. "}}

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