Bridge++
Ver. 1.1.x
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
smear_APE.h
Go to the documentation of this file.
1
15
#ifndef SMEAR_APE_INCLUDED
16
#define SMEAR_APE_INCLUDED
17
18
#include <valarray>
19
#include "
smear.h
"
20
#include "
staples.h
"
21
22
#include "
bridgeIO.h
"
23
using
Bridge::vout
;
24
25
//- parameters class
27
class
Parameters_Smear_APE
:
virtual
public
Parameters
28
{
29
public
:
30
Parameters_Smear_APE
();
31
};
32
//- end
33
35
50
class
Smear_APE
:
public
Smear
51
{
52
private
:
53
int
m_Ndim
;
54
std::valarray<double>
m_rho
;
55
Projection
*
m_proj
;
56
57
public
:
59
Smear_APE
(
Projection
*proj)
60
:
Smear
(),
61
m_Ndim
(
CommonParameters
::Ndim()),
m_rho
(0.0,
m_Ndim
*
m_Ndim
),
62
m_proj
(proj) {}
63
65
~Smear_APE
() {}
66
68
void
set_parameters
(
const
Parameters
& params);
69
71
void
set_parameters
(
const
double
rho1);
72
74
void
set_parameters
(
const
std::valarray<double>& rho);
75
77
void
smear
(
Field_G
& Usmear,
const
Field_G
& U);
78
79
private
:
81
void
staple
(
Field_G
&,
const
Field_G
&,
const
Field_G
&,
82
int
mu,
int
nu);
83
};
84
#endif
src
Smear
smear_APE.h
Generated on Tue Jul 23 2013 10:48:49 for Bridge++ by
1.8.3.1