Bridge++
Ver. 2.0.2
ashiftsolver.h
Go to the documentation of this file.
1
14
#ifndef ASHIFTSOLVER_INCLUDED
15
#define ASHIFTSOLVER_INCLUDED
16
17
#include "
bridge_defs.h
"
18
#include "
Parameters/parameters.h
"
19
#include "
Parameters/commonParameters.h
"
20
#include "
IO/bridgeIO.h
"
21
#include "
Field/field.h
"
22
#include "
Fopr/fopr.h
"
23
25
template
<
typename
FIELD>
26
class
AShiftsolver
27
{
28
public
:
29
AShiftsolver
() {}
30
31
virtual
~AShiftsolver
() {}
32
33
private
:
34
// non-copyable
35
AShiftsolver
(
const
AShiftsolver
&);
36
AShiftsolver
&
operator=
(
const
AShiftsolver
&);
37
38
public
:
39
virtual
void
set_parameters
(
const
Parameters
&) = 0;
40
41
virtual
void
get_parameters
(
Parameters
&)
const
= 0;
42
43
virtual
void
solve
(std::vector<FIELD>& solution,
44
const
std::vector<double>&
shift
,
45
const
FIELD& source,
46
int
& Nconv,
47
double
& diff) = 0;
48
49
virtual
double
flop_count
() = 0;
50
};
51
52
#endif
AShiftsolver
Shiftsolver class as an abstract base class for multi-shift solvers.
Definition:
ashiftsolver.h:26
bridgeIO.h
AShiftsolver::solve
virtual void solve(std::vector< FIELD > &solution, const std::vector< double > &shift, const FIELD &source, int &Nconv, double &diff)=0
Parameters
Class for parameters.
Definition:
parameters.h:46
AShiftsolver::AShiftsolver
AShiftsolver()
Definition:
ashiftsolver.h:29
AShiftsolver::flop_count
virtual double flop_count()=0
AShiftsolver::~AShiftsolver
virtual ~AShiftsolver()
Definition:
ashiftsolver.h:31
field.h
parameters.h
AShiftsolver::get_parameters
virtual void get_parameters(Parameters &) const =0
fopr.h
commonParameters.h
AShiftsolver::set_parameters
virtual void set_parameters(const Parameters &)=0
AShiftsolver::operator=
AShiftsolver & operator=(const AShiftsolver &)
bridge_defs.h
Test_Gauge::shift
int shift(void)
Definition:
test_Gauge_Shift.cpp:58
src
lib
Solver
ashiftsolver.h
Generated on Sat Feb 10 2024 14:20:00 for Bridge++ by
1.8.17