Bridge++  Ver. 2.0.2
force_F_Smeared.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_F_SMEARED_INCLUDED
15 #define FORCE_F_SMEARED_INCLUDED
16 
17 #include "force_F.h"
18 #include "forceSmear.h"
19 
20 #include "Fopr/fopr.h"
21 #include "Smear/director_Smear.h"
22 
23 #include "IO/bridgeIO.h"
24 using Bridge::vout;
25 
27 
39 class Force_F_Smeared : public Force
40 {
41  public:
42  static const std::string class_name;
43 
44  private:
46 
50 
51  public:
53  Force *force, ForceSmear *force_smear, Director_Smear *director_smear)
54  : m_vl(CommonParameters::Vlevel()), m_force(force), m_force_smear(force_smear), m_director_smear(director_smear) {}
55 
56  Force_F_Smeared(Force *force, ForceSmear *force_smear, Director_Smear *director_smear, const Parameters& params)
57  : m_vl(CommonParameters::Vlevel()), m_force(force), m_force_smear(force_smear), m_director_smear(director_smear)
58  {
59  set_parameters(params);
60  }
61 
62  void set_parameters(const Parameters&);
63 
64  void get_parameters(Parameters&) const;
65 
66  void set_config(Field *U)
67  {
68  m_U = (Field_G *)U;
71  }
72 
73  void set_mode(const std::string& mode)
74  {
75  m_force->set_mode(mode);
76  }
77 
78  void force_udiv(Field& force, const Field& eta);
79 
80  void force_udiv1(Field& force, const Field& zeta, const Field& eta);
81 
82  private:
83  void mult_jacobian(Field_G& force);
84 };
85 #endif
director_Smear.h
bridgeIO.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
Force_F_Smeared::set_config
void set_config(Field *U)
Definition: force_F_Smeared.h:66
Parameters
Class for parameters.
Definition: parameters.h:46
Force_F_Smeared::get_parameters
void get_parameters(Parameters &) const
Definition: force_F_Smeared.cpp:29
Force::set_config
virtual void set_config(Field *)=0
Force_F_Smeared
Force calculation for smeared fermion operators.
Definition: force_F_Smeared.h:39
Force_F_Smeared::set_parameters
void set_parameters(const Parameters &)
Definition: force_F_Smeared.cpp:19
Force_F_Smeared::Force_F_Smeared
Force_F_Smeared(Force *force, ForceSmear *force_smear, Director_Smear *director_smear, const Parameters &params)
Definition: force_F_Smeared.h:56
forceSmear.h
Force::m_U
Field_G * m_U
Definition: force_F.h:66
Force_F_Smeared::mult_jacobian
void mult_jacobian(Field_G &force)
Definition: force_F_Smeared.cpp:86
Force_F_Smeared::class_name
static const std::string class_name
Definition: force_F_Smeared.h:42
Force_F_Smeared::m_force_smear
ForceSmear * m_force_smear
Definition: force_F_Smeared.h:48
Force::set_mode
virtual void set_mode(const std::string &mode)
in Force, setting the mode is optional when H is nonhermitian.
Definition: force_F.h:51
Force_F_Smeared::force_udiv
void force_udiv(Field &force, const Field &eta)
Definition: force_F_Smeared.cpp:36
Director_Smear
Manager of smeared configurations.
Definition: director_Smear.h:39
Force_F_Smeared::force_udiv1
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
Definition: force_F_Smeared.cpp:61
Force_F_Smeared::m_director_smear
Director_Smear * m_director_smear
Definition: force_F_Smeared.h:49
force_F.h
fopr.h
Director_Smear::get_config
Field_G * get_config()
Definition: director_Smear.cpp:101
Force_F_Smeared::Force_F_Smeared
Force_F_Smeared(Force *force, ForceSmear *force_smear, Director_Smear *director_smear)
Definition: force_F_Smeared.h:52
Force_F_Smeared::m_vl
Bridge::VerboseLevel m_vl
Definition: force_F_Smeared.h:45
Force_F_Smeared::set_mode
void set_mode(const std::string &mode)
in Force, setting the mode is optional when H is nonhermitian.
Definition: force_F_Smeared.h:73
Field
Container of Field-type object.
Definition: field.h:46
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Director_Smear::set_config
void set_config(Field *U)
set pointer to original thin link variable
Definition: director_Smear.cpp:79
Field_G
SU(N) gauge field.
Definition: field_G.h:38
Force_F_Smeared::m_force
Force * m_force
Definition: force_F_Smeared.h:47
ForceSmear
Base class for force calculation of smeared operators.
Definition: forceSmear.h:34
Force
Base class of fermion force calculation.
Definition: force_F.h:31
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512