#include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <Eigen/Dense>
Go to the source code of this file.
◆ INCLUDE_STURM_HH
◆ STURM_ASSERT
| #define STURM_ASSERT |
( |
| COND, |
|
|
| MSG ) |
Value:if (!(COND)) { \
STURM_ERROR(MSG); \
}
◆ STURM_ASSERT_WARNING
| #define STURM_ASSERT_WARNING |
( |
| COND, |
|
|
| MSG ) |
Value:if (!(COND)) { \
STURM_WARNING(MSG); \
}
◆ STURM_DEFAULT_INTEGER_TYPE
| #define STURM_DEFAULT_INTEGER_TYPE int |
◆ STURM_ERROR
| #define STURM_ERROR |
( |
| MSG | ) |
|
Value:{ \
std::ostringstream os; \
os << MSG; \
throw std::runtime_error(os.str()); \
}
◆ STURM_WARNING
| #define STURM_WARNING |
( |
| MSG | ) |
|
Value:{ std::cout << MSG << std::endl; }