Bridge++  Ver. 2.0.2
Field_SF Namespace Reference

SU(N) gauge field class in which a few functions are added for the SF. More...

Functions

void set_boundary_wk (Field_G &u, const Mat_SU_N &wk)
 
void set_boundary_wkpr (Field_G &u, const Mat_SU_N &wkpr)
 
void set_boundary_zero (Field_G &u)
 
void set_boundary_zero (Field &f)
 
void set_boundary_spatial_link_zero (Field_G &u)
 
void mult_ct_boundary (Field_G &u, const int t, const double ct)
 
void set_boundary_matrix (Mat_SU_N &wk, const std::vector< double > &phi)
 

Detailed Description

SU(N) gauge field class in which a few functions are added for the SF.

This class defines SU(N) gauge field, which is used such as gauge configuration.

  • A derived class from Field_G in order to add a few functions to manipulate the boundary link variables.
  • An inheritance was adopted since we need to manipulate the Field contents and upcast into Filed_G object.
  • [23 Mar 2012 Y.Taniguchi]
  • Field_G_SF and Field_F_SF classes are integrated to Field_SF namespace and converted to functions [26 Jan 2023 H.Matsufuru]

Function Documentation

◆ mult_ct_boundary()

void Field_SF::mult_ct_boundary ( Field_G u,
const int  t,
const double  ct 
)

Multiply the boundary improvement factor ct or ctr to an SU(N) matrix object attached to the boundary t=0 or t=Nt.

  • Supposed to be used for a matrix given by upper(g,mu,nu) or lower(g,mu,nu) when it is attached to the t=0 boundary.
  • The SU(N) matrix object may belong to a site at t=0 or t=1 or t=Nt.
  • This function performs no check if the object is a proper one at the boundary.
  • Lorentz index is set to mn=0.
  • Introduced by Yusuke Taniguchi for SF bc.

Definition at line 185 of file field_SF.cpp.

◆ set_boundary_matrix()

void Field_SF::set_boundary_matrix ( Mat_SU_N wk,
const std::vector< double > &  phi 
)

Definition at line 216 of file field_SF.cpp.

◆ set_boundary_spatial_link_zero()

void Field_SF::set_boundary_spatial_link_zero ( Field_G u)

Set the boundary spatial link to zero.

  • Supposed to be used for a force for the boundary spatial link in order to keep it zero.
  • Lorentz index mn runs for spatial value.
  • Introduced by Yusuke Taniguchi for SF bc.

Definition at line 151 of file field_SF.cpp.

◆ set_boundary_wk()

void Field_SF::set_boundary_wk ( Field_G u,
const Mat_SU_N wk 
)

Set the boundary spatial link $U_k(t=0)$ to its proper Dirichlet bounday $W_k$.

  • Supposed to be used for u_mu given by u_mu.setpart_ex(0, *g,mu) when mu is a spatial.
  • Lorentz index is set to mn=0.
  • Field is given as an argument.
  • Introduced by Yusuke Taniguchi for SF bc.

Definition at line 32 of file field_SF.cpp.

◆ set_boundary_wkpr()

void Field_SF::set_boundary_wkpr ( Field_G u,
const Mat_SU_N wkpr 
)

Set the boundary spatial link $U_k(t=N_t-1)$ to its proper Dirichlet bounday $W_k'$.

  • Supposed to be used for v given by shift.backward(v,u_nu,mu) when mu is a temporal.
  • Lorentz index is set to mn=0.
  • Field is given as an argument.
  • Introduced by Yusuke Taniguchi for SF bc.

Definition at line 63 of file field_SF.cpp.

◆ set_boundary_zero() [1/2]

void Field_SF::set_boundary_zero ( Field f)

Definition at line 118 of file field_SF.cpp.

◆ set_boundary_zero() [2/2]

void Field_SF::set_boundary_zero ( Field_G u)

Set the boundary matrix to zero.

  • Supposed to be used for a staple for the boundary spatial plaquette in order to keep the corresponding force to zero.
  • Lorentz index is set to mn=0.
  • Introduced by Yusuke Taniguchi for SF bc.

Definition at line 96 of file field_SF.cpp.