Go to the source code of this file.
◆ LSTEST_ASSERT
#define LSTEST_ASSERT |
( |
| condition | ) |
|
Value: { \
if (!(condition)) { \
throw std::runtime_error(std::string(__FILE__) + std::string(":") + \
std::to_string(__LINE__) + \
std::string(" in ") + \
std::string(__PRETTY_FUNCTION__)); \
} \
}
◆ LSTEST_ASSERT_VALID_LS
Value: { \
check.apply(); \
if (check.isValid()) { \
std::cout << "SUCCESS" << std::endl; \
} else { \
throw std::runtime_error( \
std::string(__FILE__) + std::string(":") + \
std::to_string(__LINE__) + std::string(" in ") + \
std::string(__PRETTY_FUNCTION__) + "\n" + check.what()); \
} \
}
This class is used to find errors in the underlying level set structure, like invalid neighbours of d...
Definition lsCheck.hpp:22