Bridge++
Ver. 2.0.2
afopr.cpp
Go to the documentation of this file.
1
10
#include "
lib/Fopr/afopr.h
"
11
#include "
lib_alt_QXS/Field/afield.h
"
12
13
#ifdef USE_FACTORY
14
15
#ifdef USE_FACTORY_AUTOREGISTER
16
#else
17
18
#include "
lib_alt_QXS/Fopr/afopr_Wilson.h
"
19
#include "
lib_alt_QXS/Fopr/afopr_Wilson_eo.h
"
20
#include "
lib_alt_QXS/Fopr/afopr_Clover.h
"
21
#include "
lib_alt_QXS/Fopr/afopr_Clover_dd.h
"
22
#include "
lib_alt_QXS/Fopr/afopr_Clover_eo.h
"
23
#include "
lib_alt_QXS/Fopr/afopr_Staggered.h
"
24
#include "
lib_alt_QXS/Fopr/afopr_Staggered_eo.h
"
25
#include "
lib_alt_QXS/Fopr/afopr_Domainwall_5din.h
"
26
#include "
lib_alt_QXS/Fopr/afopr_Domainwall_5din_eo.h
"
27
#include "
lib/Fopr/afopr_Domainwall.h
"
28
#include "
lib/Fopr/afopr_Domainwall_eo.h
"
29
//#include "lib/Fopr/afopr_Smeared.h"
30
//#include "lib/Fopr/afopr_Rational.h"
31
32
33
template
<>
34
bool
AFopr<AField<double, QXS>
>::init_factory()
35
{
36
typedef
AField<double, QXS>
AFIELD
;
37
bool
result =
true
;
38
result &=
AFopr_Wilson<AFIELD>::register_factory
();
39
result &=
AFopr_Wilson_eo<AFIELD>::register_factory
();
40
result &=
AFopr_Clover<AFIELD>::register_factory
();
41
result &=
AFopr_Clover_dd<AFIELD>::register_factory
();
42
result &=
AFopr_Clover_eo<AFIELD>::register_factory
();
43
result &=
AFopr_Staggered<AFIELD>::register_factory
();
44
result &=
AFopr_Staggered_eo<AFIELD>::register_factory
();
45
result &=
AFopr_Domainwall_5din<AFIELD>::register_factory
();
46
result &=
AFopr_Domainwall_5din_eo<AFIELD>::register_factory
();
47
result &=
AFopr_Domainwall<AFIELD>::register_factory
();
48
result &=
AFopr_Domainwall_eo<AFIELD>::register_factory
();
49
// result &= AFopr_Smeared<AFIELD>::register_factory();
50
// result &= AFopr_Rational<AFIELD>::register_factory();
51
return
result;
52
}
53
54
55
template
<>
56
bool
AFopr<AField<float, QXS>
>::init_factory()
57
{
58
typedef
AField<float, QXS>
AFIELD
;
59
bool
result =
true
;
60
result &=
AFopr_Wilson<AFIELD>::register_factory
();
61
result &=
AFopr_Wilson_eo<AFIELD>::register_factory
();
62
result &=
AFopr_Clover<AFIELD>::register_factory
();
63
result &=
AFopr_Clover_dd<AFIELD>::register_factory
();
64
result &=
AFopr_Clover_eo<AFIELD>::register_factory
();
65
result &=
AFopr_Staggered<AFIELD>::register_factory
();
66
result &=
AFopr_Staggered_eo<AFIELD>::register_factory
();
67
result &=
AFopr_Domainwall_5din<AFIELD>::register_factory
();
68
result &=
AFopr_Domainwall_5din_eo<AFIELD>::register_factory
();
69
result &=
AFopr_Domainwall<AFIELD>::register_factory
();
70
result &=
AFopr_Domainwall_eo<AFIELD>::register_factory
();
71
// result &= AFopr_Smeared<AFIELD>::register_factory();
72
// result &= AFopr_Rational<AFIELD>::register_factory();
73
return
result;
74
}
75
76
77
#endif
/* USE_FACTORY_AUTOREGISTER */
78
79
#endif
/* USE_FACTORY */
80
81
82
// explicit instanciation.
83
template
class
AFopr<AField<float, QXS>
>;
84
template
class
AFopr<AField<double, QXS>
>;
85
86
//============================================================END=====
afopr_Staggered.h
afield.h
AFopr_Staggered_eo
Staggered_eo fermion operator.
Definition:
afopr_Staggered_eo.h:42
AFopr
Definition:
afopr.h:48
afopr_Domainwall_5din.h
AField< double, QXS >
AFIELD
Field AFIELD
Definition:
eigensolver.cpp:18
AFopr_Domainwall_5din_eo
Optimal Domain-wall fermion operator.
Definition:
afopr_Domainwall_5din_eo.h:35
AFopr_Staggered
Staggered fermion operator.
Definition:
afopr_Staggered.h:41
AFopr_Domainwall
Domain-wall fermion operator.
Definition:
afopr_Domainwall.h:38
AFopr_Domainwall_eo
Domain-wall fermion operator with even-odd site index.
Definition:
afopr_Domainwall_eo.h:41
AFopr_Domainwall_5din
Optimal Domain-wall fermion operator.
Definition:
afopr_Domainwall_5din.h:35
afopr_Domainwall_5din_eo.h
afopr_Clover_eo.h
afopr_Clover_dd.h
afopr_Clover.h
afopr_Domainwall.h
AFopr_Wilson
Definition:
afopr_Wilson.h:40
afopr_Wilson.h
afopr_Wilson_eo.h
AFopr_Clover_dd
Definition:
afopr_Clover_dd.h:45
afopr_Domainwall_eo.h
AFopr_Clover_eo
Definition:
afopr_Clover_eo.h:40
AFopr_Clover
Definition:
afopr_Clover.h:41
afopr.h
AFopr_Wilson_eo
Definition:
afopr_Wilson_eo.h:38
afopr_Staggered_eo.h
src
lib_alt_QXS
Fopr
afopr.cpp
Generated on Sat Feb 10 2024 14:20:00 for Bridge++ by
1.8.17