15 #ifndef FIELD_G_SF_INCLUDED
16 #define FIELD_G_SF_INCLUDED
107 double c0r, c0i, c1r, c1i, c2r, c2i;
108 c0r = cos(phi[0] / Lx);
109 c0i = sin(phi[0] / Lx);
110 c1r = cos(phi[1] / Lx);
111 c1i = sin(phi[1] / Lx);
112 c2r = cos(phi[2] / Lx);
113 c2i = sin(phi[2] / Lx);
115 wk.
set(0, 0, c0r, c0i);
116 wk.
set(1, 1, c1r, c1i);
117 wk.
set(2, 2, c2r, c2i);
119 c0r = cos(phipr[0] / Lx);
120 c0i = sin(phipr[0] / Lx);
121 c1r = cos(phipr[1] / Lx);
122 c1i = sin(phipr[1] / Lx);
123 c2r = cos(phipr[2] / Lx);
124 c2i = sin(phipr[2] / Lx);
136 const std::valarray<double>& phipr);
void set_boundary_zero()
Set the boundary matrix to 0 for SF bc.
void set_boundary_wkpr(const Mat_SU_N &U)
Set the boundary spatial link at t=Nt-1 for SF bc.
Field_G_SF(const Field &x)
Container of Field-type object.
SU(N) gauge field class in which a few functions are added for the SF.
Field_G_SF(const int Nvol=CommonParameters::Nvol(), const int Nex=1)
void mult_ct_boundary(int t, double ct)
Multiply the boundary improvement factor ct or ctr to an SU(N) matrix object which belongs to a site ...
Field_G_SF(double *phi, double *phipr)
void set_boundary_spatial_link_zero()
Set the boundary spatial link to 0 for SF bc.
int m_Nex
extra degree of freedom, such as mu, nu.
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=COMPLEX)
void set_boundary_wk(const Mat_SU_N &U)
Set the boundary spatial link at t=0 for SF bc.
Common parameter class: provides parameters as singleton.
Mat_SU_N wk
SF boundary condition at t=0.
int m_Nc
number of color elements
void set_parameters(const Parameters_Field_G_SF ¶ms)
Set the parameter with Parameters_Field_G_SF class.
int m_Nvol
number of sites
void set(int c, double re, const double &im)
int m_Ndf
number of components as real values
Mat_SU_N wkpr
SF boundary condition at t=Nt.