Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WilsonLoop Class Reference

Wilson loop measurement. More...

#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::vector< int > unit_vec
 

Private Member Functions

 WilsonLoop (const WilsonLoop &)
 
WilsonLoopoperator= (const WilsonLoop &)
 
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::vector< 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

std::string m_filename_output
 
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::vector< unit_vecm_Nunit
 
std::vector< int > m_Nmax
 

Detailed Description

Wilson loop measurement.

This class measures Wilson loops in spatial off-axis directions as well as on-axis for a given gauge configuration. The construction of off-axis loops originates from the Fortran code written by Takashi Umeda (1997), while details were modified. The calculation is performed in the following steps. (1) on each node, extended gauge configuration necessary to determine the whole Wilson loop is set. (2) temporal gauge fixing is performed. (3) spatial products of link variables are obtained, from which Wilson loops are constructed. 28 May 2012 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa]

Definition at line 43 of file wilsonLoop.h.

Member Typedef Documentation

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

Definition at line 67 of file wilsonLoop.h.

Constructor & Destructor Documentation

WilsonLoop::WilsonLoop ( )
inline

Definition at line 72 of file wilsonLoop.h.

virtual WilsonLoop::~WilsonLoop ( )
inlinevirtual

Definition at line 78 of file wilsonLoop.h.

WilsonLoop::WilsonLoop ( const WilsonLoop )
private

Member Function Documentation

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

temporal gauge fixing of extended gauge field.

Definition at line 241 of file wilsonLoop.cpp.

void WilsonLoop::gfix_temporal ( Field_G Uext)
private

temporal gauge fixing of extended gauge field.

Definition at line 551 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 96 of file wilsonLoop.h.

void WilsonLoop::init ( )
private

initial setup independent of parameters.

Definition at line 98 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 147 of file wilsonLoop.cpp.

WilsonLoop& WilsonLoop::operator= ( const WilsonLoop )
private
void WilsonLoop::redef_Uspc ( Field_G Uspc,
Field_G Uext,
int  j,
int  nu,
std::vector< int > &  unit_v 
)
private

redefinition of product of spatial link variables.

this loop counting is for exact comparison to Fortran code.

Definition at line 286 of file wilsonLoop.cpp.

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

setup of extended gauge field.

Definition at line 381 of file wilsonLoop.cpp.

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

Definition at line 90 of file wilsonLoop.h.

void WilsonLoop::set_parameters ( const Parameters params)
virtual

setting parameters.

Definition at line 19 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 48 of file wilsonLoop.cpp.

Member Data Documentation

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

Definition at line 46 of file wilsonLoop.h.

std::string WilsonLoop::m_filename_output
private

Definition at line 52 of file wilsonLoop.h.

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

Definition at line 69 of file wilsonLoop.h.

int WilsonLoop::m_Nspc_size
private

parameters set by user

spatial size of loop

Definition at line 55 of file wilsonLoop.h.

int WilsonLoop::m_Nt_ext
private

size of extended gauge config.

Definition at line 64 of file wilsonLoop.h.

int WilsonLoop::m_Ntmp_size
private

spatial size of loop

Definition at line 56 of file wilsonLoop.h.

int WilsonLoop::m_Ntype
private

number of measured loop-type

Definition at line 57 of file wilsonLoop.h.

int WilsonLoop::m_Ntype_max
private

internal data members

maximum size of loop-type

Definition at line 60 of file wilsonLoop.h.

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

Definition at line 68 of file wilsonLoop.h.

int WilsonLoop::m_Nvol_ext
private

volume of extended gauge config.

Definition at line 65 of file wilsonLoop.h.

int WilsonLoop::m_Nx_ext
private

size of extended gauge config.

Definition at line 61 of file wilsonLoop.h.

int WilsonLoop::m_Ny_ext
private

size of extended gauge config.

Definition at line 62 of file wilsonLoop.h.

int WilsonLoop::m_Nz_ext
private

size of extended gauge config.

Definition at line 63 of file wilsonLoop.h.

Bridge::VerboseLevel WilsonLoop::m_vl
protected

Definition at line 49 of file wilsonLoop.h.


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