15 #ifndef FIELD_G_SF_INCLUDED
16 #define FIELD_G_SF_INCLUDED
98 double c0r = cos(phi[0] / Lx);
99 double c0i = sin(phi[0] / Lx);
100 double c1r = cos(phi[1] / Lx);
101 double c1i = sin(phi[1] / Lx);
102 double c2r = cos(phi[2] / Lx);
103 double c2i = sin(phi[2] / Lx);
109 c0r = cos(phipr[0] / Lx);
110 c0i = sin(phipr[0] / Lx);
111 c1r = cos(phipr[1] / Lx);
112 c1i = sin(phipr[1] / Lx);
113 c2r = cos(phipr[2] / Lx);
114 c2i = sin(phipr[2] / Lx);
125 const std::vector<double>& phipr);
SU(N) gauge field class in which a few functions are added for the SF.
Field_G_SF & operator=(const Field_G_SF &v)
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.
friend void copy(Field &y, const Field &x)
copy(y, x): y = x
Field_G_SF(const int Nvol=CommonParameters::Nvol(), const int Nex=1)
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.
Mat_SU_N m_wk
SF boundary condition at t=0.
void set_parameters(const std::vector< double > &phi, const std::vector< double > &phipr)
Set the parameter by giving vector objects.
void mult_ct_boundary(const int t, const double ct)
Multiply the boundary improvement factor ct or ctr to an SU(N) matrix object which belongs to a site ...
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 m_wkpr
SF boundary condition at t=Nt.
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX)
int m_Nc
number of color elements
int m_Nvol
number of sites
void set(int c, double re, const double &im)
int m_Ndf
number of components as real values