Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
action_F_Standard_lex.h
Go to the documentation of this file.
1 
14 #ifndef ACTION_F_STANDARD_LEX_INCLUDED
15 #define ACTION_F_STANDARD_LEX_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  // delete m_fprop;
65  }
66 
67  void set_parameters(const Parameters&);
68  void set_parameters();
69 
70  void set_label(std::string label)
71  {
72  m_label = label;
73  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
74  }
75 
76  std::string get_label()
77  {
78  return m_label;
79  }
80 
81  void set_config(Field *U);
82 
83  void notify_linkv()
84  {
85  m_status_linkv = 0;
86  }
87 
88  double langevin(RandomNumbers *);
89 
90  double calcH();
91 
92  const Field force();
93 };
94 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
void set_config(Field *U)
setting pointer to the gauge configuration.
void detailed(const char *format,...)
Definition: bridgeIO.cpp:50
Definition: fprop.h:20
Container of Field-type object.
Definition: field.h:37
double calcH()
calculate Hamiltonian of this action term.
double langevin(RandomNumbers *)
Langevis step.
Base class of fermion force calculation.
Definition: force.h:34
Class for parameters.
Definition: parameters.h:40
Base class of HMC action class family.
Definition: action.h:35
Bridge::VerboseLevel m_vl
Definition: action.h:64
Base class of random number generators.
Definition: randomNumbers.h:40
const Field force()
returns force for molcular dynamical update of conjugate momenta.
void notify_linkv()
to be called when gauge configuration is updated.
Base class of fermion operator family.
Definition: fopr.h:39
Standard fermion action for HMC.
Action_F_Standard_lex(Fopr *fopr, Force *fopr_force, Fprop *fprop_MD, Fprop *fprop_H)
static const std::string class_name
void set_label(std::string label)