Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
integrator_UpdateU.h
Go to the documentation of this file.
1 
14 #ifndef INTEGRATOR_UPDATEU_INCLUDED
15 #define INTEGRATOR_UPDATEU_INCLUDED
16 
17 #include "integrator.h"
18 
19 #include "IO/bridgeIO.h"
20 using Bridge::vout;
21 
23 
35 {
36  public:
37  static const std::string class_name;
38 
39  static const int default_Nprec = 8;
40 
41  private:
42  int m_Nprec; // precision of exponential series
43 
44  std::vector<Director *> m_director; // directors
45  std::vector<Integrator *> m_integs; // list of update_p to send notification
46 
47  public:
48  Integrator_UpdateU(const std::vector<Director *>& director = std::vector<Director *>())
49  : m_Nprec(default_Nprec), m_director(director), m_integs()
50  {}
51 
54 
55  void set_parameters(const Parameters& params);
56  void set_parameters(const int Nprec);
57 
58  void set_parameter_Nprec(const int Nprec);
59 
60 
61  void evolve(const double step_size, Field_G& iP, Field_G& U);
62 
63 
64  // cache management
66  {
67  // lowest level. do nothing.
68  }
69 
70  void append_notify(Integrator *const integ)
71  {
72  m_integs.push_back(integ);
73  }
74 
75  void notify_update();
76 };
77 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
static const int default_Nprec
void set_parameters(const Parameters &params)
~Integrator_UpdateU()
destructor
Class for parameters.
Definition: parameters.h:46
void append_notify(Integrator *const integ)
Base class of Integrator class family.
Definition: integrator.h:29
static const std::string class_name
Integrator_UpdateU(const std::vector< Director * > &director=std::vector< Director * >())
SU(N) gauge field.
Definition: field_G.h:38
void set_parameter_Nprec(const int Nprec)
void evolve(const double step_size, Field_G &iP, Field_G &U)
std::vector< Integrator * > m_integs
std::vector< Director * > m_director
Integrator of link variable for a given conjugate momenta.