ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <fcs.h>
#include <stdexcept>
+ Include dependency graph for scafacos/src/utils.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Scafacos
 

Macros

#define handle_error(stmt)
 

Macro Definition Documentation

◆ handle_error

#define handle_error (   stmt)
Value:
{ \
const FCSResult res = stmt; \
if (res) \
throw std::runtime_error(fcs_result_get_message(res)); \
}

Definition at line 26 of file scafacos/src/utils.hpp.