1
0
mirror of https://github.com/paboyle/Grid.git synced 2026-01-09 19:39:34 +00:00

First graph class implementation and test

This commit is contained in:
2015-11-05 14:28:14 +00:00
parent 538b16610b
commit c4e2202550
7 changed files with 416 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
#define Hadrons_Global_hpp_
#include <Grid.h>
#include <set>
#define BEGIN_HADRONS_NAMESPACE \
namespace Hadrons {\
@@ -36,6 +37,11 @@ public:
};
#define LOG(channel) std::cout << HadronsLog##channel
#define HADRON_ERROR(msg)\
LOG(Error) << msg << std::endl;\
abort();
#define DEBUG_VAR(var) LOG(Debug) << #var << "= " << (var) << std::endl;
extern HadronsLogger HadronsLogError;
extern HadronsLogger HadronsLogWarning;