Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shiftsolver.h
Go to the documentation of this file.
1 
14 #ifndef SHIFTSOLVER_INCLUDED
15 #define SHIFTSOLVER_INCLUDED
16 
17 #include "Fopr/fopr.h"
18 
19 #include "IO/bridgeIO.h"
20 
21 
23 
25 {
26  public:
28  : m_vl(CommonParameters::Vlevel()) {}
29 
30  virtual ~Shiftsolver() {}
31 
32  private:
33  // non-copyable
34  Shiftsolver(const Shiftsolver&);
36 
37  public:
38  virtual void set_parameters(const Parameters&) = 0;
39 
41 
42  virtual void solve(std::vector<Field>& solution,
43  const std::vector<double>& shift,
44  const Field& source,
45  int& Nconv, double& diff) = 0;
46 
47  protected:
49 };
50 #endif
Shiftsolver & operator=(const Shiftsolver &)
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: shiftsolver.h:40
int shift(void)
Container of Field-type object.
Definition: field.h:45
Shiftsolver class as an abstract base class for multi-shift solvers.
Definition: shiftsolver.h:24
Class for parameters.
Definition: parameters.h:46
virtual void set_parameters(const Parameters &)=0
Common parameter class: provides parameters as singleton.
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
virtual ~Shiftsolver()
Definition: shiftsolver.h:30
virtual void solve(std::vector< Field > &solution, const std::vector< double > &shift, const Field &source, int &Nconv, double &diff)=0
Bridge::VerboseLevel m_vl
Definition: shiftsolver.h:48