CHROMA
t_inv_fgmres_dr.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <sstream>
3 #include <iomanip>
4 #include <string>
5 
6 #include <cstdio>
7 
8 #include <stdlib.h>
9 #include <sys/time.h>
10 #include <math.h>
11 
12 #include "chroma.h"
13 
14 #include "gtest/gtest.h"
15 #include "chroma_gtest_env.h"
16 
17 #include "util/gauge/weak_field.h"
18 
20 
21 using namespace Chroma;
22 
23 
24 
26  "<?xml version='1.0'?> \
27  <Param> \
28  <FermionAction> \
29  <FermAct>CLOVER</FermAct> \
30  <Mass>0.1</Mass> \
31  <clovCoeff>1</clovCoeff> \
32  <AnisoParam> \
33  <anisoP>false</anisoP> \
34  <t_dir>3</t_dir> \
35  <xi_0>1</xi_0> \
36  <nu>1</nu> \
37  </AnisoParam> \
38  <FermState> \
39  <Name>STOUT_FERM_STATE</Name> \
40  <rho>0.14</rho> \
41  <n_smear>2</n_smear> \
42  <orthog_dir>3</orthog_dir> \
43  <FermionBC> \
44  <FermBC>SIMPLE_FERMBC</FermBC> \
45  <boundary>1 1 1 -1</boundary> \
46  </FermionBC> \
47  </FermState> \
48  </FermionAction> \
49  </Param>";
50 
51 
53 public:
55  {
56  const int nrow_in[4] = {4,4,4,8};
57  multi1d<int> nrow(4);
58  nrow = nrow_in;
59  Layout::setLattSize(nrow);
60  Layout::create();
61 
62  }
63 
65  }
66 };
67 
68 
69 
70 int main(int argc, char *argv[])
71 {
72  ::testing::InitGoogleTest(&argc, argv);
75  return RUN_ALL_TESTS();
76 }
77 
78 
79 
80 
81 
82 
83 
Primary include file for CHROMA in application codes.
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition: gtest.h:20057
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Environment * AddGlobalTestEnvironment(Environment *env)
Definition: gtest.h:18731
void InitGoogleTest(int *argc, char **argv)
Definition: gtest-all.cc:6489
Solve an FGMRESR-DR system.
int main(int argc, char *argv[])
std::string fermact_xml
Construct a weak field.