Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WilsonLoop Class Reference

#include <wilsonLoop.h>

Public Member Functions

 WilsonLoop ()
 
virtual ~WilsonLoop ()
 
virtual void set_parameters (const Parameters &params)
 setting parameters. More...
 
void set_parameters (int Nspc_size, int Ntmp_size, int Ntype)
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
double measure (Field_G &U)
 main function to measure Wilson loops. More...
 
int index_wloop (int i_spc, int i_tmp, int i_type)
 index for Wilson loop variable. More...
 

Static Public Attributes

static const std::string class_name = "WilsonLoop"
 

Protected Attributes

Bridge::VerboseLevel m_vl
 

Private Types

typedef std::valarray< int > unit_vec
 

Private Member Functions

void init ()
 initial setup independent of parameters. More...
 
double calc_wloop (Field_G &Uspc, int t_ext)
 temporal gauge fixing of extended gauge field. More...
 
void redef_Uspc (Field_G &Uspc, Field_G &Uext, int j, int nu, std::valarray< int > &unit_v)
 redefinition of product of spatial link variables. More...
 
void set_extfield (Field_G &Uext, Field_G &Uorg)
 setup of extended gauge field. More...
 
void gfix_temporal (Field_G &Uext)
 temporal gauge fixing of extended gauge field. More...
 

Private Attributes

int m_Nspc_size
 parameters set by user More...
 
int m_Ntmp_size
 spatial size of loop More...
 
int m_Ntype
 number of measured loop-type More...
 
int m_Ntype_max
 internal data members More...
 
int m_Nx_ext
 size of extended gauge config. More...
 
int m_Ny_ext
 size of extended gauge config. More...
 
int m_Nz_ext
 size of extended gauge config. More...
 
int m_Nt_ext
 size of extended gauge config. More...
 
int m_Nvol_ext
 volume of extended gauge config. More...
 
std::valarray< unit_vecm_Nunit
 
std::valarray< int > m_Nmax
 

Detailed Description

Definition at line 51 of file wilsonLoop.h.

Member Typedef Documentation

typedef std::valarray<int> WilsonLoop::unit_vec
private

Definition at line 73 of file wilsonLoop.h.

Constructor & Destructor Documentation

WilsonLoop::WilsonLoop ( )
inline

Definition at line 79 of file wilsonLoop.h.

virtual WilsonLoop::~WilsonLoop ( )
inlinevirtual

Definition at line 85 of file wilsonLoop.h.

Member Function Documentation

double WilsonLoop::calc_wloop ( Field_G Uspc,
int  t_ext 
)
private

temporal gauge fixing of extended gauge field.

Definition at line 254 of file wilsonLoop.cpp.

void WilsonLoop::gfix_temporal ( Field_G Uext)
private

temporal gauge fixing of extended gauge field.

Definition at line 566 of file wilsonLoop.cpp.

int WilsonLoop::index_wloop ( int  i_spc,
int  i_tmp,
int  i_type 
)
inline

index for Wilson loop variable.

Definition at line 98 of file wilsonLoop.h.

void WilsonLoop::init ( )
private

initial setup independent of parameters.

Definition at line 122 of file wilsonLoop.cpp.

double WilsonLoop::measure ( Field_G U)

main function to measure Wilson loops.

setting extended config.

fixing extended config to temporal gauge.

on/off-diagonal direction type

permutation of direction

output: same format as Fortran code

Definition at line 169 of file wilsonLoop.cpp.

void WilsonLoop::redef_Uspc ( Field_G Uspc,
Field_G Uext,
int  j,
int  nu,
std::valarray< int > &  unit_v 
)
private

redefinition of product of spatial link variables.

this loop counting is for exact comparison to Fortran code.

Definition at line 299 of file wilsonLoop.cpp.

void WilsonLoop::set_extfield ( Field_G Uext,
Field_G Uorg 
)
private

setup of extended gauge field.

Definition at line 396 of file wilsonLoop.cpp.

void WilsonLoop::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
inline

Definition at line 92 of file wilsonLoop.h.

void WilsonLoop::set_parameters ( const Parameters params)
virtual

setting parameters.

Definition at line 47 of file wilsonLoop.cpp.

void WilsonLoop::set_parameters ( int  Nspc_size,
int  Ntmp_size,
int  Ntype 
)

The following setting explicitly depends on the definition of unit vectors.

The following setting explicitly depends on the definition of unit vectors.

Definition at line 72 of file wilsonLoop.cpp.

Member Data Documentation

const std::string WilsonLoop::class_name = "WilsonLoop"
static

Definition at line 54 of file wilsonLoop.h.

std::valarray<int> WilsonLoop::m_Nmax
private

Definition at line 75 of file wilsonLoop.h.

int WilsonLoop::m_Nspc_size
private

parameters set by user

spatial size of loop

Definition at line 61 of file wilsonLoop.h.

int WilsonLoop::m_Nt_ext
private

size of extended gauge config.

Definition at line 70 of file wilsonLoop.h.

int WilsonLoop::m_Ntmp_size
private

spatial size of loop

Definition at line 62 of file wilsonLoop.h.

int WilsonLoop::m_Ntype
private

number of measured loop-type

Definition at line 63 of file wilsonLoop.h.

int WilsonLoop::m_Ntype_max
private

internal data members

maximum size of loop-type

Definition at line 66 of file wilsonLoop.h.

std::valarray<unit_vec> WilsonLoop::m_Nunit
private

Definition at line 74 of file wilsonLoop.h.

int WilsonLoop::m_Nvol_ext
private

volume of extended gauge config.

Definition at line 71 of file wilsonLoop.h.

int WilsonLoop::m_Nx_ext
private

size of extended gauge config.

Definition at line 67 of file wilsonLoop.h.

int WilsonLoop::m_Ny_ext
private

size of extended gauge config.

Definition at line 68 of file wilsonLoop.h.

int WilsonLoop::m_Nz_ext
private

size of extended gauge config.

Definition at line 69 of file wilsonLoop.h.

Bridge::VerboseLevel WilsonLoop::m_vl
protected

Definition at line 57 of file wilsonLoop.h.


The documentation for this class was generated from the following files: