OGS
LisCheck.h
Go to the documentation of this file.
1
14
#pragma once
15
16
#include <vector>
17
18
#include "
BaseLib/Logging.h
"
19
#include "
LisWrapper.h
"
20
21
namespace
MathLib
22
{
23
30
inline
bool
checkLisError
(
int
err)
31
{
32
bool
ok = (err == LIS_SUCCESS);
33
if
(!ok)
34
{
35
ERR
(
"***ERROR: Lis error code = {:d}"
, err);
36
}
37
return
ok;
38
}
39
40
}
// namespace MathLib
LisWrapper.h
Logging.h
ERR
void ERR(fmt::format_string< Args... > fmt, Args &&... args)
Definition
Logging.h:48
MathLib
Definition
CreateComponent.h:32
MathLib::checkLisError
bool checkLisError(int err)
Definition
LisCheck.h:30
MathLib
LinAlg
Lis
LisCheck.h
Generated by
1.11.0