Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fopr_Smeared.h
Go to the documentation of this file.
1 
15 #ifndef FOPR_SMEARED_INCLUDED
16 #define FOPR_SMEARED_INCLUDED
17 
18 #include "fopr.h"
19 #include "director_Smear.h"
20 
21 #include "bridgeIO.h"
22 using Bridge::vout;
23 
25 
40 class Fopr_Smeared : public Fopr
41 {
42  private:
45 
46  public:
47 
49  Fopr_Smeared(Fopr *fopr, Director_Smear *dr_smear)
50  : Fopr(), m_fopr(fopr), m_dr_smear(dr_smear) {}
51 
52  void set_parameters(const Parameters&);
53 
55  void set_config(Field *U);
56 
58  void mult(Field& v, const Field& f)
59  {
60  m_fopr->mult(v, f);
61  }
62 
64  const Field mult(const Field& f)
65  {
66  return m_fopr->mult(f);
67  }
68 
70  void mult_dag(Field& v, const Field& f)
71  {
72  m_fopr->mult_dag(v, f);
73  }
74 
76  const Field mult_dag(const Field& f)
77  {
78  return m_fopr->mult_dag(f);
79  }
80 
82  void set_mode(std::string mode)
83  {
84  m_fopr->set_mode(mode);
85  }
86 
87  std::string get_mode() const
88  {
89  return m_fopr->get_mode();
90  }
91 
92  void mult_up(int mu, Field& v, const Field& w)
93  {
94  m_fopr->mult_up(mu, v, w);
95  }
96 
97  void mult_dn(int mu, Field& v, const Field& w)
98  {
99  m_fopr->mult_dn(mu, v, w);
100  }
101 
102  int field_nvol() { return m_fopr->field_nvol(); }
103  int field_nin() { return m_fopr->field_nin(); }
104  int field_nex() { return m_fopr->field_nex(); }
105 };
106 #endif