Bridge++  Ver. 1.1.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  private:
39  std::string m_label;
41 
44 
47 
48 
49  public:
50 
52  Fopr *fopr, Force *fopr_force, Fprop *fprop_MD, Fprop *fprop_H)
53  : Action(),
54  m_fopr(fopr), m_fopr_force(fopr_force), m_fprop_MD(fprop_MD), m_fprop_H(fprop_H)
55  {
57  }
58 
60  {
61  // delete m_fprop;
62  }
63 
64  void set_parameters(const Parameters&);
65  void set_parameters();
66 
67  void set_label(std::string label)
68  {
69  m_label = label;
70  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
71  }
72 
73  std::string get_label()
74  {
75  return m_label;
76  }
77 
78  void set_config(Field *U);
79 
80  void notify_linkv()
81  {
82  m_status_linkv = 0;
83  }
84 
85  double langevin(RandomNumbers *);
86 
87  double calcH();
88 
89  const Field force();
90 };
91 #endif