Bridge++  Ver. 2.0.2
fopr.cpp
Go to the documentation of this file.
1 
14 #include "Fopr/fopr.h"
15 #include "Fopr/fopr_eo.h"
16 #include "Field/field.h"
17 
18 #ifdef USE_FACTORY
19 
20 #ifdef USE_FACTORY_AUTOREGISTER
21 #else
22 // setup factories for all subclasses
23 
24 #include "fopr_Wilson.h"
25 #include "Org/fopr_Wilson_impl.h"
26 #include "Imp/fopr_Wilson_impl.h"
27 #include "fopr_Wilson_eo.h"
30 #include "fopr_Clover.h"
31 #include "fopr_Clover_eo.h"
32 #include "fopr_Domainwall.h"
33 #include "fopr_Overlap.h"
34 #include "fopr_Sign.h"
35 #include "fopr_Rational.h"
36 #include "fopr_Smeared.h"
37 #include "fopr_Smeared_eo.h"
38 #include "fopr_Chebyshev.h"
40 #include "fopr_WilsonGeneral.h"
43 #include "fopr_CloverGeneral.h"
44 #include "fopr_Wilson_Chemical.h"
45 #include "fopr_Clover_Chemical.h"
46 #include "fopr_Staggered.h"
47 #include "fopr_Staggered_eo.h"
48 #include "fopr_Wilson_SF.h"
49 #include "fopr_Clover_SF.h"
50 #include "fopr_Rational_SF.h"
51 #include "fopr_NonRelativistic.h"
52 #include "fopr_CRS.h"
53 
54 template<>
55 bool Fopr::init_factory()
56 {
57  bool result = true;
58  result &= Selector_Fopr_Wilson::register_factory();
59  result &= Org::Fopr_Wilson::register_factory();
60  result &= Imp::Fopr_Wilson::register_factory();
61  result &= Selector_Fopr_Wilson_eo::register_factory();
62  result &= Org::Fopr_Wilson_eo::register_factory();
63  result &= Imp::Fopr_Wilson_eo::register_factory();
64  result &= Fopr_Clover::register_factory();
65  result &= Fopr_Clover_eo::register_factory();
66  result &= Fopr_Domainwall::register_factory();
67  result &= Fopr_Overlap::register_factory();
68  result &= Fopr_Sign::register_factory();
69  result &= Fopr_Rational::register_factory();
70  result &= Fopr_Smeared::register_factory();
71  result &= Fopr_Smeared_eo::register_factory();
72  result &= Fopr_Chebyshev::register_factory();
73  result &= Fopr_Wilson_TwistedMass::register_factory();
74  result &= Selector_Fopr_WilsonGeneral::register_factory();
75  result &= Org::Fopr_WilsonGeneral::register_factory();
76  result &= Imp::Fopr_WilsonGeneral::register_factory();
77  result &= Fopr_CloverGeneral::register_factory();
78  result &= Fopr_Wilson_Chemical::register_factory();
79  result &= Fopr_Clover_Chemical::register_factory();
80  result &= Fopr_Staggered::register_factory();
81  result &= Fopr_Staggered_eo::register_factory();
82  result &= Fopr_Wilson_SF::register_factory();
83  result &= Fopr_Clover_SF::register_factory();
84  result &= Fopr_Rational_SF::register_factory();
85  result &= Fopr_NonRelativistic::register_factory();
86  result &= Fopr_CRS::register_factory();
87 
88  return result;
89 }
90 
91 
92 #endif /* USE_FACTORY_AUTOREGISTER */
93 
94 #endif /* USE_FACTORY */
95 
96 // explicit instanciation.
97 template<>
98 const std::string AFopr<Field>::class_name = "Fopr";
99 template class AFopr<Field>;
100 
101 template<>
102 const std::string AFopr_eo<Field>::class_name = "Fopr_eo";
103 template class AFopr_eo<Field>;
fopr_WilsonGeneral_impl.h
AFopr
Definition: afopr.h:48
fopr_NonRelativistic.h
fopr_Overlap.h
fopr_Clover_Chemical.h
AFopr_eo
Base class of fermion operator family.
Definition: afopr_eo.h:35
fopr_Staggered.h
fopr_Clover.h
fopr_Rational_SF.h
fopr_Wilson_SF.h
fopr_Domainwall.h
fopr_Wilson_eo_impl.h
fopr_Sign.h
fopr_Wilson_Chemical.h
fopr_WilsonGeneral_impl.h
fopr_eo.h
fopr_Wilson.h
fopr_CloverGeneral.h
fopr_CRS.h
field.h
fopr_Wilson_impl.h
fopr_Staggered_eo.h
fopr.h
fopr_Chebyshev.h
fopr_Clover_eo.h
fopr_Wilson_eo_impl.h
fopr_WilsonGeneral.h
fopr_Clover_SF.h
fopr_Rational.h
fopr_Smeared.h
fopr_Wilson_impl.h
fopr_Wilson_eo.h
fopr_Smeared_eo.h
fopr_Wilson_TwistedMass.h