CHROMA
chroma_gtest_env.h
Go to the documentation of this file.
1 #include <iostream>
2 #include <sstream>
3 #include <iomanip>
4 #include <string>
5 #include <cstdio>
6 #include <stdlib.h>
7 #include <sys/time.h>
8 #include <math.h>
9 #include "chroma.h"
10 #include "gtest/gtest.h"
11 
12 using namespace Chroma;
13 
14 /* Set up Chroma */
16 public:
17  ChromaEnvironment(int* argc, char ***argv) {
18  Chroma::initialize(argc, argv);
19  QDPIO::cout << "Linkage = " << linkageHack() << std::endl;
20  }
21 
24  }
25 
26  bool linkageHack(void)
27  {
28  bool foo = true;
29 
30  // Inline Measurements
33 
34  return foo;
35  }
36 
37 };
38 
Primary include file for CHROMA in application codes.
bool linkageHack(void)
ChromaEnvironment(int *argc, char ***argv)
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
void initialize(int *argc, char ***argv)
Chroma initialisation routine.
Definition: chroma_init.cc:114
void finalize(void)
Chroma finalization routine.
Definition: chroma_init.cc:308
bool linkageHack(void)
Definition: const_hmc.cc:660