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