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
force_F_Domainwall.h
Go to the documentation of this file.
1
14
#ifndef FORCE_F_DOMAINWALL_INCLUDED
15
#define FORCE_F_DOMAINWALL_INCLUDED
16
17
#include "
force_F_Wilson_Nf2.h
"
18
#include "
fopr_Domainwall.h
"
19
#include "
index_lex.h
"
20
21
#include "
bridgeIO.h
"
22
using
Bridge::vout
;
23
25
34
//- parameters class
35
class
Parameters_Force_F_Domainwall
:
virtual
public
Parameters
36
{
37
public
:
38
Parameters_Force_F_Domainwall
();
39
};
40
//- end
41
42
class
Force_F_Domainwall
:
public
Force
43
{
44
private
:
45
Field_G
*
m_U
;
46
Index_lex
*
m_index
;
47
48
// parameters common to overlap fermion
49
double
m_mq
;
// quark mass
50
double
m_M0
;
// domain-wall height
51
int
m_Ns
;
// size of fifth-dimension
52
std::valarray<int>
m_boundary
;
53
54
Fopr_Wilson
*
m_fopr_w
;
55
Fopr_Domainwall
*
m_fopr_dw
;
56
Force_F_Wilson_Nf2
*
m_force_w
;
57
58
public
:
59
60
Force_F_Domainwall
()
61
:
Force
()
62
{
63
m_fopr_w
=
new
Fopr_Wilson
;
64
m_fopr_dw
=
new
Fopr_Domainwall
(
m_fopr_w
);
65
m_force_w
=
new
Force_F_Wilson_Nf2
;
66
m_boundary
.resize(
CommonParameters::Ndim
());
67
}
68
69
~Force_F_Domainwall
()
70
{
71
delete
m_force_w
;
72
delete
m_fopr_dw
;
73
delete
m_fopr_w
;
74
}
75
76
void
set_parameters
(
const
Parameters
& params);
77
void
set_parameters
(
const
double
mq,
const
double
M0,
const
int
Ns,
78
const
std::valarray<int> bc);
79
80
void
set_config
(
Field
*U)
81
{
82
m_U
= (
Field_G
*)U;
83
m_fopr_w
->
set_config
(U);
84
m_fopr_dw
->
set_config
(U);
85
m_force_w
->
set_config
(U);
86
}
87
88
Field
force_core
(
const
Field
& eta);
89
90
Field
force_udiv
(
const
Field
& eta);
91
Field
force_udiv1
(
const
Field
& zeta,
const
Field
& eta);
92
};
93
#endif
src
Force
force_F_Domainwall.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1