Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fopr_Smeared_eo.h
Go to the documentation of this file.
1 
15 #ifndef FOPR_SMEARED_EO_INCLUDED
16 #define FOPR_SMEARED_EO_INCLUDED
17 
18 #include "fopr_eo.h"
19 #include "director_Smear.h"
20 
21 #include "bridgeIO.h"
22 using Bridge::vout;
23 
25 
40 class Fopr_Smeared_eo : public Fopr_eo
41 {
42  private:
45 
46  public:
47 
49  Fopr_Smeared_eo(Fopr_eo *fopr_eo, Director_Smear *dr_smear) : Fopr_eo()
50  {
51  m_fopr_eo = fopr_eo;
52  m_dr_smear = dr_smear;
53  }
54 
55  void set_parameters(const Parameters&);
56 
57  void preProp(Field& Be, Field& bo, const Field& b)
58  {
59  m_fopr_eo->preProp(Be, bo, b);
60  }
61 
62  void postProp(Field& x, const Field& xe, const Field& bo)
63  {
64  m_fopr_eo->postProp(x, xe, bo);
65  }
66 
68  void set_config(Field *U);
69 
71  void mult(Field& v, const Field& f)
72  {
73  m_fopr_eo->mult(v, f);
74  }
75 
77  const Field mult(const Field& f)
78  {
79  return m_fopr_eo->mult(f);
80  }
81 
83  void mult_dag(Field& v, const Field& f)
84  {
85  m_fopr_eo->mult_dag(v, f);
86  }
87 
89  const Field mult_dag(const Field& f)
90  {
91  return m_fopr_eo->mult_dag(f);
92  }
93 
95  void set_mode(std::string mode)
96  {
97  m_fopr_eo->set_mode(mode);
98  }
99 
100  std::string get_mode() const
101  {
102  return m_fopr_eo->get_mode();
103  }
104 
105  void mult_up(int mu, Field& v, const Field& w)
106  {
107  m_fopr_eo->mult_up(mu, v, w);
108  }
109 
110  void mult_dn(int mu, Field& v, const Field& w)
111  {
112  m_fopr_eo->mult_dn(mu, v, w);
113  }
114 
115  int field_nvol() { return m_fopr_eo->field_nvol(); }
116  int field_nin() { return m_fopr_eo->field_nin(); }
117  int field_nex() { return m_fopr_eo->field_nex(); }
118 };
119 #endif