Bridge++  Ver. 2.0.2
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 get_parameters(Parameters&) const = 0;
51 
52  virtual void evolve(const double step_size, Field_G& iP, Field_G& U) = 0;
53 
54 
55  // cache management
56  virtual void invalidate_cache() = 0;
57 
58 
59  protected:
61 };
62 #endif
bridgeIO.h
Integrator::invalidate_cache
virtual void invalidate_cache()=0
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
Parameters
Class for parameters.
Definition: parameters.h:46
Integrator::operator=
Integrator & operator=(const Integrator &)
director.h
Integrator::set_parameters
virtual void set_parameters(const Parameters &)=0
Integrator::get_parameters
virtual void get_parameters(Parameters &) const =0
action.h
Integrator::Integrator
Integrator()
Definition: integrator.h:32
Integrator::set_parameter_verboselevel
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: integrator.h:48
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
Integrator::set_parameter_Nsteps
virtual void set_parameter_Nsteps(const std::vector< int > &Nsteps)
Definition: integrator.h:46
Integrator::~Integrator
virtual ~Integrator()
Definition: integrator.h:35
Integrator::set_parameter_Nstep
virtual void set_parameter_Nstep(const int Nstep)
Definition: integrator.h:45
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Field_G
SU(N) gauge field.
Definition: field_G.h:38
Integrator
Base class of Integrator class family.
Definition: integrator.h:29
Integrator::evolve
virtual void evolve(const double step_size, Field_G &iP, Field_G &U)=0
Integrator::m_vl
Bridge::VerboseLevel m_vl
Definition: integrator.h:60