Bridge++
Version 1.5.4
|
SU(N) gauge field class in which a few functions are added for the SF. More...
#include <field_G_SF.h>
Public Member Functions | |
Field_G_SF (const int Nvol=CommonParameters::Nvol(), const int Nex=1) | |
Field_G_SF (const Field &x) | |
Field_G_SF (double *phi, double *phipr) | |
Field_G_SF & | operator= (const Field_G_SF &v) |
void | set_parameters (const std::vector< double > &phi, const std::vector< double > &phipr) |
Set the parameter by giving vector objects. More... | |
void | set_parameters (double *phi, double *phipr) |
Set the parameter for the boundary links Wk, Wk'. More... | |
void | set_boundary_wk (const Mat_SU_N &U) |
Set the boundary spatial link at t=0 for SF bc. More... | |
void | set_boundary_wkpr (const Mat_SU_N &U) |
Set the boundary spatial link at t=Nt-1 for SF bc. More... | |
void | set_boundary_zero () |
Set the boundary matrix to 0 for SF bc. More... | |
void | set_boundary_spatial_link_zero () |
Set the boundary spatial link to 0 for SF bc. More... | |
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 at t. More... | |
void | set_boundary_wk (Field_G &f) |
Set the boundary spatial link at t=0 for SF bc. More... | |
void | set_boundary_wkpr (Field_G &f) |
Set the boundary spatial link at t=Nt-1 for SF bc. More... | |
void | set_boundary_zero (Field_G &f) |
Set the boundary matrix to 0 for SF bc. More... | |
void | set_boundary_spatial_link_zero (Field_G &f) |
Set the boundary spatial link to 0 for SF bc. More... | |
Public Member Functions inherited from Field_G | |
Field_G (const int Nvol=CommonParameters::Nvol(), const int Nex=1) | |
Field_G | clone () const |
Field_G (const Field &x) | |
Field_G & | operator= (const Field_G &v) |
void | reset (const int Nvol, const int Nex) |
int | nc () const |
double | cmp_r (const int cc, const int site, const int mn=0) const |
double | cmp_i (const int cc, const int site, const int mn=0) const |
void | set_r (const int cc, const int site, const int mn, const double re) |
void | set_i (const int cc, const int site, const int mn, const double im) |
void | set_ri (const int cc, const int site, const int mn, const double re, const double im) |
Mat_SU_N | mat (const int site, const int mn=0) const |
Mat_SU_N | mat_dag (const int site, const int mn=0) const |
void | mat (Mat_SU_N &Tmp, const int site, const int mn=0) const |
void | mat_dag (Mat_SU_N &Tmp, const int site, const int mn=0) const |
void | set_mat (const int site, const int mn, const Mat_SU_N &U) |
void | add_mat (const int site, const int mn, const Mat_SU_N &U) |
void | add_mat (const int site, const int mn, const Mat_SU_N &U, double prf) |
void | xI () |
void | set_unit () |
void | set_random (RandomNumbers *rand) |
void | set_random (unique_ptr< RandomNumbers > &rand) |
void | reunit () |
Public Member Functions inherited from Field | |
Field () | |
Field (const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX) | |
Field | clone () const |
void | reset (const int Nin, const int Nvol, const int Nex, const element_type cmpl=Element_type::COMPLEX) |
Field & | operator= (const Field &v) |
int | nin () const |
int | nvol () const |
int | nex () const |
element_type | field_element_type () const |
int | ntot () const |
int | size () const |
bool | check_size (const int nin, const int nvol, const int nex) const |
checking size parameters. [23 May 2016 H.Matsufuru] More... | |
double | cmp (const int jin, const int site, const int jex) const |
double | cmp (const int i) const |
const double * | ptr (const int jin, const int site, const int jex) const |
double * | ptr (const int jin, const int site, const int jex) |
const double * | ptr (const int i) const |
double * | ptr (const int i) |
void | set (const int jin, const int site, const int jex, double v) |
void | set (const int i, double v) |
void | set (double a) |
void | add (const int jin, const int site, const int jex, double v) |
void | add (const int i, double v) |
void | setpart_ex (int ex, const Field &w, int exw) |
void | addpart_ex (int ex, const Field &w, int exw) |
void | addpart_ex (int ex, const Field &w, int exw, double prf) |
double | norm2 () const |
double | norm () const |
void | stat (double &Fave, double &Fmax, double &Fdev) const |
determines the statistics of the field. average, maximum value, and deviation is determined over global lattice. On-site degree of freedom is sumed over in quadrature, not averaged. This function works only on single node. More... | |
Private Attributes | |
int | m_Nc |
number of color elements More... | |
int | m_Ndf |
number of components as real values More... | |
int | m_Nvol |
number of sites More... | |
int | m_Nex |
extra degree of freedom, such as mu, nu. More... | |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Svol |
int | m_NPEt |
Mat_SU_N | m_wk |
SF boundary condition at t=0. More... | |
Mat_SU_N | m_wkpr |
SF boundary condition at t=Nt. More... | |
Additional Inherited Members | |
Public Types inherited from Field | |
typedef Element_type::type | element_type |
typedef double | real_t |
Protected Member Functions inherited from Field | |
size_t | myindex (const int jin, const int site, const int jex) const |
Protected Attributes inherited from Field | |
int | m_Nin |
int | m_Nvol |
int | m_Nex |
element_type | m_element_type |
std::valarray< double > | field |
Bridge::VerboseLevel | m_vl |
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.
Definition at line 33 of file field_G_SF.h.
|
inline |
Definition at line 55 of file field_G_SF.h.
|
inline |
Definition at line 69 of file field_G_SF.h.
|
inline |
Definition at line 83 of file field_G_SF.h.
void Field_G_SF::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 at t.
Multiply the boundary improvement factor ct or ctr to an SU(N) matrix object attached to the boundary t=0 or t=Nt.
Definition at line 128 of file field_G_SF.cpp.
|
inline |
Definition at line 121 of file field_G_SF.h.
void Field_G_SF::set_boundary_spatial_link_zero | ( | ) |
Set the boundary spatial link to 0 for SF bc.
Set the boundary spatial link to zero.
Definition at line 102 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_spatial_link_zero | ( | Field_G & | f | ) |
Set the boundary spatial link to 0 for SF bc.
Set the boundary spatial link to zero.
Definition at line 229 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_wk | ( | const Mat_SU_N & | U | ) |
Set the boundary spatial link at t=0 for SF bc.
Set the boundary spatial link to its proper Dirichlet bounday .
Definition at line 27 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_wk | ( | Field_G & | f | ) |
Set the boundary spatial link at t=0 for SF bc.
Set the boundary spatial link to its proper Dirichlet bounday .
Definition at line 155 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_wkpr | ( | const Mat_SU_N & | U | ) |
Set the boundary spatial link at t=Nt-1 for SF bc.
Set the boundary spatial link to its proper Dirichlet bounday .
Definition at line 53 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_wkpr | ( | Field_G & | f | ) |
Set the boundary spatial link at t=Nt-1 for SF bc.
Set the boundary spatial link to its proper Dirichlet bounday .
Definition at line 179 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_zero | ( | ) |
Set the boundary matrix to 0 for SF bc.
Set the boundary matrix to zero.
Definition at line 78 of file field_G_SF.cpp.
void Field_G_SF::set_boundary_zero | ( | Field_G & | f | ) |
Set the boundary matrix to 0 for SF bc.
Set the boundary matrix to zero.
Definition at line 203 of file field_G_SF.cpp.
void Field_G_SF::set_parameters | ( | const std::vector< double > & | phi, |
const std::vector< double > & | phipr | ||
) |
Set the parameter by giving vector objects.
Definition at line 245 of file field_G_SF.cpp.
void Field_G_SF::set_parameters | ( | double * | phi, |
double * | phipr | ||
) |
Set the parameter for the boundary links Wk, Wk'.
Definition at line 261 of file field_G_SF.cpp.
|
private |
number of color elements
Definition at line 37 of file field_G_SF.h.
|
private |
number of components as real values
Definition at line 39 of file field_G_SF.h.
|
private |
extra degree of freedom, such as mu, nu.
Definition at line 43 of file field_G_SF.h.
|
private |
Definition at line 46 of file field_G_SF.h.
|
private |
Definition at line 45 of file field_G_SF.h.
|
private |
number of sites
Definition at line 41 of file field_G_SF.h.
|
private |
Definition at line 45 of file field_G_SF.h.
|
private |
Definition at line 45 of file field_G_SF.h.
|
private |
Definition at line 45 of file field_G_SF.h.
|
private |
Definition at line 45 of file field_G_SF.h.
|
private |
SF boundary condition at t=0.
Definition at line 49 of file field_G_SF.h.
|
private |
SF boundary condition at t=Nt.
Definition at line 51 of file field_G_SF.h.