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_Wilson_Nf2_Isochemical.h
Go to the documentation of this file.
1
14
#ifndef FORCE_F_WILSON_NF2_ISOCHEMICAL_INCLUDED
15
#define FORCE_F_WILSON_NF2_ISOCHEMICAL_INCLUDED
16
17
#include "
force.h
"
18
#include "
fopr_Wilson_Isochemical.h
"
19
20
#include "
tensorProd.h
"
21
22
#include "
bridgeIO.h
"
23
using
Bridge::vout
;
24
26
35
//- parameters class
36
class
Parameters_Force_F_Wilson_Nf2_Isochemical
:
virtual
public
Parameters
37
{
38
public
:
39
Parameters_Force_F_Wilson_Nf2_Isochemical
();
40
};
41
//- end
42
43
class
Force_F_Wilson_Nf2_Isochemical
:
public
Force
44
{
45
private
:
46
Field_G
*
m_U
;
47
48
double
m_kappa
;
49
double
m_mu
;
50
double
m_exp_mu
;
51
std::valarray<int>
m_boundary
;
52
Fopr_Wilson_Isochemical
*
m_fopr_w
;
53
Field_F
m_psf
;
54
55
std::string
m_repr
;
56
std::string
m_mode
;
57
58
public
:
59
60
Force_F_Wilson_Nf2_Isochemical
()
61
:
Force
()
62
{
63
m_repr
=
"Dirac"
;
64
m_fopr_w
=
new
Fopr_Wilson_Isochemical
(
m_repr
);
65
m_boundary
.resize(
CommonParameters::Ndim
());
66
}
67
68
Force_F_Wilson_Nf2_Isochemical
(std::string repr)
69
:
Force
()
70
{
71
m_repr
= repr;
72
m_fopr_w
=
new
Fopr_Wilson_Isochemical
(
m_repr
);
73
m_boundary
.resize(
CommonParameters::Ndim
());
74
}
75
76
~Force_F_Wilson_Nf2_Isochemical
()
77
{
78
delete
m_fopr_w
;
79
}
80
81
void
set_parameters
(
const
Parameters
& params);
82
83
// void set_parameters (const Parameters_Fopr_Wilson_Isochemical& params);
84
void
set_parameters
(
const
double
kappa,
const
double
mu,
const
std::valarray<int> bc);
85
86
void
set_config
(
Field
*U)
87
{
88
m_U
= (
Field_G
*)U;
89
m_fopr_w
->
set_config
(U);
90
}
91
92
void
set_mode
(std::string mode)
93
{
94
m_mode
= mode;
95
}
96
97
Field
force_core
(
const
Field
& eta);
98
Field
force_core1
(
const
Field
& zeta,
const
Field
& eta);
99
100
Field
force_udiv
(
const
Field
& eta);
101
Field
force_udiv1
(
const
Field
& zeta,
const
Field
& eta);
102
Field
force_udiv1
(
const
Field_F
& zeta,
const
Field_F
& eta);
103
};
104
#endif
src
Force
force_F_Wilson_Nf2_Isochemical.h
Generated on Tue Jul 23 2013 10:48:48 for Bridge++ by
1.8.3.1