Bridge++  Ver. 2.0.2
fopr_Domainwall_eo.cpp
Go to the documentation of this file.
1 
15 #include "Field/index_eo.h"
16 
17 template<>
19 public:
20  void split(Field &xe, Field &xo, const Field &x){
21  m_idx.convertField(xe, x, 0);
22  m_idx.convertField(xo, x, 1);
23  }
24  void merge(Field &x, const Field &xe, const Field &xo){
25  m_idx.reverseField(x, xe, 0);
26  m_idx.reverseField(x, xo, 1);
27  }
28 private:
30 };
31 
32 
34 
35 #ifdef USE_FACTORY_AUTOREGISTER
36 namespace {
37  bool init = Fopr_Domainwall::register_factory();
38 }
39 #endif
40 template<>
42  = "Fopr_Domainwall_eo";
43 
44 template class AFopr_Domainwall_eo<Field>;
45 
46 
47 //============================================================END=====
Index_eo
Even-odd site index.
Definition: index_eo.h:44
AFopr_Domainwall_eo
Domain-wall fermion operator with even-odd site index.
Definition: afopr_Domainwall_eo.h:41
Index_eo_Domainwall< Field >::split
void split(Field &xe, Field &xo, const Field &x)
Definition: fopr_Domainwall_eo.cpp:20
Index_eo_Domainwall< Field >::merge
void merge(Field &x, const Field &xe, const Field &xo)
Definition: fopr_Domainwall_eo.cpp:24
fopr_Domainwall_eo.h
index_eo.h
Index_eo_Domainwall< Field >::m_idx
Index_eo m_idx
Definition: fopr_Domainwall_eo.cpp:29
Field
Container of Field-type object.
Definition: field.h:46
afopr_Domainwall_eo-tmpl.h
Index_eo_Domainwall
Definition: afopr_Domainwall_eo.h:28