Bridge++  Ver. 2.0.2
bridge_init_factory_alt_QXS.cpp
Go to the documentation of this file.
1 
11 
12 #ifdef USE_FACTORY
13 
14 // alt-code
15 #include "lib/Fopr/afopr.h"
16 //#include "lib_alt_QXS/Force/Fermion/aforce_F.h"
18 #include "lib_alt/Solver/asolver.h"
19 #include "lib/Eigen/aeigensolver.h"
20 
21 // adding to corelib
22 //#include "lib_alt_QXS/Action/action.h"
23 
24 /*
25 #include "Force/Gauge/force_G.h"
26 #include "Smear/forceSmear.h"
27 #include "Smear/smear.h"
28 #include "Smear/projection.h"
29 #include "Measurements/Gauge/gaugeFixing.h"
30 #include "Measurements/Gauge/staple.h"
31 #include "Measurements/Fermion/source.h"
32 #include "Tools/randomNumbers.h"
33 #include "Tools/gammaMatrixSet.h"
34 */
35 
36 void bridge_report_factory_alt_QXS();
37 
38 #ifdef USE_FACTORY_AUTOREGISTER
39 #else
40 
41 bool bridge_init_factory_alt_QXS()
42 {
43  bool result = true;
44  vout.general("hoge: in bridge_init_factory_alt_QXS()\n");
45 
46  result &= AFopr<AField<double, QXS> >::init_factory();
47  result &= ASolver<AField<double, QXS> >::init_factory();
48  result &= AEigensolver<AField<double, QXS>, AFopr<AField<double, QXS> > >::init_factory();
49  // result &= AForce_F<AField<double> >::init_factory();
50 
51  result &= AFopr<AField<float, QXS> >::init_factory();
52  result &= ASolver<AField<float, QXS> >::init_factory();
53 
54  // bridge_report_factory_alt_QXS();
55 
56  /*
57  result &= Force_G::init_factory();
58  result &= ForceSmear::init_factory();
59  result &= Solver::init_factory();
60  result &= Action::init_factory();
61  result &= Projection::init_factory();
62  result &= Smear::init_factory();
63  result &= GaugeFixing::init_factory();
64  result &= Source::init_factory();
65  result &= Staple::init_factory();
66  result &= RandomNumbers::init_factory();
67  result &= GammaMatrixSet::init_factory();
68 #ifdef USE_FFTWLIB
69  result &= FFT::init_factory();
70 #endif
71  */
72 
73  return result;
74 }
75 
76 
77 #endif /* USE_FACTORY_AUTOREGISTER */
78 
79 bool bridge_fin_factory_alt_QXS()
80 {
81  bool result = true;
82 // vout.general("hoge: in bridge_fin_factory_alt_QXS()\n");
83 // result &= AFopr<AField<double, QXS> >::Factory_params::clear();
84 // result &= AFopr<AField<float, QXS> >::Factory_params::clear();
85 
86  return result;
87 }
88 
89 
90 //#ifdef DEBUG
91 void bridge_report_factory_alt_QXS()
92 {
93  vout.general("------------------------------------------------\n");
94  vout.general("Factory entries\n");
95  vout.general("------------------------------------------------\n");
96 
99 
100  AFOPR_d::Factory_params::print("AFopr<double, QXS>(Parameters&)");
101  AFOPR_f::Factory_params::print("AFopr<float, QXS>(Parameters&)");
102 
103  /*
104  Fopr::Factory_noarg::print("Fopr(void)");
105  Fopr::Factory_fopr::print("Fopr(Fopr*)");
106  Fopr::Factory_fopr_director::print("Fopr(Fopr*, Director*)");
107  Fopr::Factory_string::print("Fopr(string)");
108 
109  Force_G::Factory::print("Force_G");
110 
111  ForceSmear::Factory::print("ForceSmear");
112 
113  Solver::Factory::print("Solver");
114 
115  Action::Factory::print("Action");
116 
117  Projection::Factory::print("Projection");
118  Smear::Factory::print("Smear");
119 
120  GaugeFixing::Factory::print("GaugeFixing");
121 
122  Source::Factory::print("Source");
123 
124  Staple::Factory::print("Staple");
125 
126  RandomNumbers::Factory_int::print("RandomNumbers(int)");
127  RandomNumbers::Factory_file::print("RandomNumbers(string)");
128 
129  GammaMatrixSet::Factory::print("GammaMatrixSet");
130  */
131  vout.general("------------------------------------------------\n");
132 }
133 
134 
135 //#endif
136 
137 #endif /* USE_FACTORY */
afield.h
AFopr
Definition: afopr.h:48
ASolver
Definition: asolver.h:23
bridge_init_factory_alt_QXS.h
AFOPR_d
AFopr< AField< double, QXS > > AFOPR_d
Definition: aeigensolver.cpp:16
AFOPR_f
AFopr< AField< float, QXS > > AFOPR_f
Definition: aeigensolver.cpp:19
afopr.h
asolver.h
Bridge::BridgeIO::general
void general(const char *format,...)
Definition: bridgeIO.cpp:200
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512
AEigensolver
Eigensolver class for abstract base class of eigen solvers.
Definition: aeigensolver.h:42
aeigensolver.h