Bridge++
Ver. 2.0.2
aprecond.h
Go to the documentation of this file.
1
9
#ifndef APRECOND_H
10
#define APRECOND_H
11
12
#include <cstdio>
13
#include <cstdlib>
14
15
#include <string>
16
using
std::string;
17
18
#include <vector>
19
using
std::vector;
20
21
#include "
lib/Parameters/commonParameters.h
"
22
#include "
lib/IO/bridgeIO.h
"
23
using
Bridge::vout
;
24
25
class
Field
;
26
27
template
<
typename
AFIELD>
28
class
APrecond
29
{
30
protected
:
31
Bridge::VerboseLevel
m_vl
;
32
33
public
:
34
35
APrecond
()
36
:
m_vl
(
CommonParameters
::Vlevel()) {}
37
38
virtual
~APrecond
() {}
39
40
virtual
void
mult
(
AFIELD
&,
const
AFIELD
&)
41
{
42
vout
.
crucial
(
m_vl
,
"this is mult of base class APrecond!\n"
);
43
}
44
45
virtual
void
reset_flop_count
() { }
46
47
virtual
double
flop_count
() {
return
0; }
48
};
49
50
#endif // AFOPR_H
APrecond::~APrecond
virtual ~APrecond()
Definition:
aprecond.h:38
bridgeIO.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition:
commonParameters.h:42
APrecond::flop_count
virtual double flop_count()
Definition:
aprecond.h:47
APrecond
Definition:
aprecond.h:28
APrecond::reset_flop_count
virtual void reset_flop_count()
Definition:
aprecond.h:45
APrecond::m_vl
Bridge::VerboseLevel m_vl
Definition:
aprecond.h:31
APrecond::APrecond
APrecond()
Definition:
aprecond.h:35
APrecond::mult
virtual void mult(AFIELD &, const AFIELD &)
Definition:
aprecond.h:40
commonParameters.h
Bridge::BridgeIO::crucial
void crucial(const char *format,...)
Definition:
bridgeIO.cpp:180
Field
Container of Field-type object.
Definition:
field.h:46
Bridge::VerboseLevel
VerboseLevel
Definition:
bridgeIO.h:42
Bridge::vout
BridgeIO vout
Definition:
bridgeIO.cpp:512
src
lib_alt
Solver
aprecond.h
Generated on Sat Feb 10 2024 14:20:00 for Bridge++ by
1.8.17