Bridge++
Ver. 2.0.2
gradientFlow_RungeKutta_4th.h
Go to the documentation of this file.
1
13
#ifndef GRADIENTFLOW_RUNGEKUTTA_4TH_INCLUDED
14
#define GRADIENTFLOW_RUNGEKUTTA_4TH_INCLUDED
15
16
#include "
gradientFlow_RungeKutta.h
"
17
18
#include "
IO/bridgeIO.h
"
19
using
Bridge::vout
;
20
22
30
class
GradientFlow_RungeKutta_4th
:
public
GradientFlow_RungeKutta
31
{
32
public
:
33
static
const
std::string
class_name
;
34
35
protected
:
36
Bridge::VerboseLevel
m_vl
;
37
38
private
:
39
Action
*
m_action
;
40
int
m_Nprec
;
41
int
m_Ndim
,
m_Nvol
;
42
43
//- working area
44
Field_G
m_w1
,
m_w2
,
m_w3
,
m_w4
;
45
Field_G
m_z0
,
m_z1
,
m_z2
,
m_z3
,
m_z4
;
46
Field_G
m_zt
;
47
48
public
:
49
GradientFlow_RungeKutta_4th
(
Action
*action,
const
int
Nprec,
const
Bridge::VerboseLevel
vl
)
50
:
GradientFlow_RungeKutta
(action, Nprec,
vl
)
51
{
52
m_action
= action;
53
m_Nprec
= Nprec;
54
m_Ndim
=
CommonParameters::Ndim
();
55
m_Nvol
=
CommonParameters::Nvol
();
56
57
m_w1
.
reset
(
m_Nvol
,
m_Ndim
);
58
m_w2
.
reset
(
m_Nvol
,
m_Ndim
);
59
m_w3
.
reset
(
m_Nvol
,
m_Ndim
);
60
m_w4
.
reset
(
m_Nvol
,
m_Ndim
);
61
62
m_z0
.
reset
(
m_Nvol
,
m_Ndim
);
63
m_z1
.
reset
(
m_Nvol
,
m_Ndim
);
64
m_z2
.
reset
(
m_Nvol
,
m_Ndim
);
65
m_z3
.
reset
(
m_Nvol
,
m_Ndim
);
66
m_z4
.
reset
(
m_Nvol
,
m_Ndim
);
67
68
m_zt
.
reset
(
m_Nvol
,
m_Ndim
);
69
}
70
71
~GradientFlow_RungeKutta_4th
() {}
72
73
void
flow
(
double
& t,
double
& Estep,
Field_G
& U);
74
75
int
Norder_RK
()
const
{
return
4; }
76
};
77
#endif
bridgeIO.h
CommonParameters::Ndim
static int Ndim()
Definition:
commonParameters.h:117
GradientFlow_RungeKutta_4th::m_Nvol
int m_Nvol
Definition:
gradientFlow_RungeKutta_4th.h:41
GradientFlow_RungeKutta_4th::m_w1
Field_G m_w1
Definition:
gradientFlow_RungeKutta_4th.h:44
CommonParameters::Nvol
static int Nvol()
Definition:
commonParameters.h:109
gradientFlow_RungeKutta.h
Action
Base class of HMC action class family.
Definition:
action.h:36
GradientFlow_RungeKutta_4th::GradientFlow_RungeKutta_4th
GradientFlow_RungeKutta_4th(Action *action, const int Nprec, const Bridge::VerboseLevel vl)
Definition:
gradientFlow_RungeKutta_4th.h:49
GradientFlow_RungeKutta_4th::m_z3
Field_G m_z3
Definition:
gradientFlow_RungeKutta_4th.h:45
GradientFlow_RungeKutta_4th::m_z2
Field_G m_z2
Definition:
gradientFlow_RungeKutta_4th.h:45
GradientFlow_RungeKutta_4th::m_z1
Field_G m_z1
Definition:
gradientFlow_RungeKutta_4th.h:45
GradientFlow_RungeKutta_4th::m_z4
Field_G m_z4
Definition:
gradientFlow_RungeKutta_4th.h:45
GradientFlow_RungeKutta_4th::m_action
Action * m_action
Definition:
gradientFlow_RungeKutta_4th.h:39
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition:
parameterCheck.cpp:18
GradientFlow_RungeKutta_4th::flow
void flow(double &t, double &Estep, Field_G &U)
Definition:
gradientFlow_RungeKutta_4th.cpp:19
GradientFlow_RungeKutta_4th::m_Nprec
int m_Nprec
Definition:
gradientFlow_RungeKutta_4th.h:40
Field_G::reset
void reset(const int Nvol, const int Nex)
Definition:
field_G.h:79
GradientFlow_RungeKutta_4th::m_w3
Field_G m_w3
Definition:
gradientFlow_RungeKutta_4th.h:44
GradientFlow_RungeKutta_4th
GradientFlow_RungeKutta_4th construction.
Definition:
gradientFlow_RungeKutta_4th.h:30
GradientFlow_RungeKutta_4th::Norder_RK
int Norder_RK() const
Definition:
gradientFlow_RungeKutta_4th.h:75
GradientFlow_RungeKutta_4th::m_zt
Field_G m_zt
Definition:
gradientFlow_RungeKutta_4th.h:46
GradientFlow_RungeKutta_4th::m_Ndim
int m_Ndim
Definition:
gradientFlow_RungeKutta_4th.h:41
GradientFlow_RungeKutta_4th::m_vl
Bridge::VerboseLevel m_vl
Definition:
gradientFlow_RungeKutta_4th.h:36
GradientFlow_RungeKutta_4th::m_z0
Field_G m_z0
Definition:
gradientFlow_RungeKutta_4th.h:45
GradientFlow_RungeKutta_4th::m_w4
Field_G m_w4
Definition:
gradientFlow_RungeKutta_4th.h:44
GradientFlow_RungeKutta_4th::m_w2
Field_G m_w2
Definition:
gradientFlow_RungeKutta_4th.h:44
GradientFlow_RungeKutta_4th::~GradientFlow_RungeKutta_4th
~GradientFlow_RungeKutta_4th()
Definition:
gradientFlow_RungeKutta_4th.h:71
GradientFlow_RungeKutta
GradientFlow_RungeKutta construction.
Definition:
gradientFlow_RungeKutta.h:29
GradientFlow_RungeKutta_4th::class_name
static const std::string class_name
Definition:
gradientFlow_RungeKutta_4th.h:33
Bridge::VerboseLevel
VerboseLevel
Definition:
bridgeIO.h:42
Field_G
SU(N) gauge field.
Definition:
field_G.h:38
Bridge::vout
BridgeIO vout
Definition:
bridgeIO.cpp:512
src
lib
Measurements
Gauge
gradientFlow_RungeKutta_4th.h
Generated on Sat Feb 10 2024 14:20:00 for Bridge++ by
1.8.17