Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
integrator.h
Go to the documentation of this file.
1 
14 #ifndef INTEGRATOR_INCLUDED
15 #define INTEGRATOR_INCLUDED
16 
17 #include "Action/action.h"
18 #include "Tools/director.h"
19 
20 #include "IO/bridgeIO.h"
21 
23 
30 {
31  public:
33  : m_vl(CommonParameters::Vlevel()) {}
34 
35  virtual ~Integrator() {}
36 
37  private:
38  // non-copyable
39  Integrator(const Integrator&);
41 
42  public:
43  virtual void set_parameters(const Parameters&) = 0;
44 
45  virtual void set_parameter_Nstep(const int Nstep) {}
46  virtual void set_parameter_Nsteps(const std::vector<int>& Nsteps) {}
47 
49 
50  virtual void evolve(const double step_size, Field_G& iP, Field_G& U) = 0;
51 
52 
53  // cache management
54  virtual void invalidate_cache() = 0;
55 
56 
57  protected:
59 };
60 #endif
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: integrator.h:48
virtual void set_parameter_Nsteps(const std::vector< int > &Nsteps)
Definition: integrator.h:46
Class for parameters.
Definition: parameters.h:46
virtual void invalidate_cache()=0
Base class of Integrator class family.
Definition: integrator.h:29
SU(N) gauge field.
Definition: field_G.h:38
virtual void set_parameter_Nstep(const int Nstep)
Definition: integrator.h:45
Integrator & operator=(const Integrator &)
Common parameter class: provides parameters as singleton.
virtual void evolve(const double step_size, Field_G &iP, Field_G &U)=0
Bridge::VerboseLevel m_vl
Definition: integrator.h:58
virtual void set_parameters(const Parameters &)=0
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
virtual ~Integrator()
Definition: integrator.h:35