Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
action_F_Standard_eo.h
Go to the documentation of this file.
1 
14 #ifndef ACTION_F_STANDARD_EO_INCLUDED
15 #define ACTION_F_STANDARD_EO_INCLUDED
16 
17 #include "action.h"
18 #include "fprop.h"
19 
20 #include "bridgeIO.h"
21 using Bridge::vout;
22 
24 
34 {
35  public:
36  static const std::string class_name;
37 
38  private:
42  std::string m_label;
44 
47 
50 
51 
52  public:
53 
55  Fopr *fopr, Force *fopr_force, Fprop *fprop_MD, Fprop *fprop_H)
56  : Action(),
57  m_fopr(fopr), m_fopr_force(fopr_force), m_fprop_MD(fprop_MD), m_fprop_H(fprop_H)
58  {
60  }
61 
63  {
64  }
65 
66  void set_parameters(const Parameters&);
67  void set_parameters();
68 
69  void set_label(std::string label)
70  {
71  m_label = label;
72  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
73  }
74 
75  std::string get_label()
76  {
77  return m_label;
78  }
79 
80  void set_config(Field *U);
81 
82  void notify_linkv()
83  {
84  m_status_linkv = 0;
85  }
86 
87  double langevin(RandomNumbers *);
88 
89  double calcH();
90 
91  const Field force();
92 };
93 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
void detailed(const char *format,...)
Definition: bridgeIO.cpp:50
Standard even-odd preconditioned fermion action for HMC.
static const std::string class_name
double langevin(RandomNumbers *)
Langevis step.
Definition: fprop.h:20
Container of Field-type object.
Definition: field.h:37
void set_label(std::string label)
void notify_linkv()
to be called when gauge configuration is updated.
Base class of fermion force calculation.
Definition: force.h:34
Class for parameters.
Definition: parameters.h:40
double calcH()
calculate Hamiltonian of this action term.
Base class of HMC action class family.
Definition: action.h:35
Action_F_Standard_eo(Fopr *fopr, Force *fopr_force, Fprop *fprop_MD, Fprop *fprop_H)
void set_config(Field *U)
setting pointer to the gauge configuration.
Bridge::VerboseLevel m_vl
Definition: action.h:64
Base class of random number generators.
Definition: randomNumbers.h:40
Base class of fermion operator family.
Definition: fopr.h:39
const Field force()
returns force for molcular dynamical update of conjugate momenta.