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

field strength construction. More...

#include <fieldStrength.h>

Public Member Functions

 FieldStrength ()
 
virtual ~FieldStrength ()
 
void construct_Fmunu_1x1 (Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
 Constructs the anti-Hermitian field strength with four 1x1 plquette clover leaves. More...
 
void construct_Fmunu_1x2 (Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
 Constructs the anti-Hermitian field strength with eight 1x2 rectangular clover leaves. More...
 
void construct_Fmunu_1x1_traceless (Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
 Constructs the anti-Hermitian traceless field strength with four 1x1 plquette clover leaves. More...
 
void construct_Fmunu_1x2_traceless (Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
 Constructs the anti-Hermitian traceless field strength with eight 1x2 rectangular clover leaves. More...
 
void construct_Fmunu_plaq_traceless (Field_G &Fmunu, const int mu, const int nu, const Field_G &U)
 Constructs the anti-Hermitian traceless field strength with an imaginary part of the plaquette. More...
 
double contract (const Field_G &Fmunu_1, const Field_G &Fmunu_2)
 Calculate $\sum_x {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$ and returns its value. Intended to be used for the topological charge and energy momentum tensor. More...
 
void contract_at_t (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
 Calculate corr[t]= $\sum_{x,y,z} {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void contract_at_t (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2, const std::vector< int > &momentum_sink, const std::vector< int > &source_position)
 Calculate corr[t]= $\sum_{x,y,z}cos(p_xx+p_yy+p_zz){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate Fourier transformed correlations function of the topological charge and energy momentum tensor. (p_x,p_y,p_z) is given by momentum_sink. More...
 
void contract_at_x (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
 Calculate corr[x]= $\sum_{y,z,t}{\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void contract_at_x (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2, const std::vector< int > &momentum_sink, const std::vector< int > &source_position)
 Calculate corr[x]= $\sum_{y,z,t}cos(p_yy+p_zz+p_tt){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void contract_at_y (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
 Calculate corr[y]= $\sum_{x,z,t} {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void contract_at_y (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2, const std::vector< int > &momentum_sink, const std::vector< int > &source_position)
 Calculate corr[y]= $\sum_{x,z,t}cos(p_xx+p_zz+p_tt){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void contract_at_z (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2)
 Calculate corr[z]= $\sum_{x,y,t} {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void contract_at_z (std::vector< double > &corr_global, const Field_G &Fmunu_1, const Field_G &Fmunu_2, const std::vector< int > &momentum_sink, const std::vector< int > &source_position)
 Calculate corr[z]= $\sum_{x,y,t}cos(p_xx+p_yy+p_tt){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor. More...
 
void global_corr_x (std::vector< double > &corr_global, const std::vector< double > &corr_local)
 transform node-local correlator in x into global. More...
 
void global_corr_y (std::vector< double > &corr_global, const std::vector< double > &corr_local)
 transform node-local correlator in y into global. More...
 
void global_corr_z (std::vector< double > &corr_global, const std::vector< double > &corr_local)
 transform node-local correlator in z into global. More...
 
void global_corr_t (std::vector< double > &corr_global, const std::vector< double > &corr_local)
 transform node-local correlator in t into global. More...
 

Static Public Attributes

static const std::string class_name = "FieldStrengh"
 

Protected Attributes

Bridge::VerboseLevel m_vl
 

Private Member Functions

 FieldStrength (const FieldStrength &)
 
FieldStrengthoperator= (const FieldStrength &)
 

Private Attributes

ShiftField_lex m_shift
 
Staple_lex m_staple
 

Detailed Description

field strength construction.

This class constructs a field strength, Fmunu, defined by a clover leaf on the lattice. [03 Mar 2016 Y.Namekawa] Add two functions construct_Fmunu_1x1_traceless() and construct_Fmunu_1x2_traceless() to give anti-Hermitian traceless field strength. Add a function construct_Fmunu_plaq_traceless() which defines the anti-Hermitian traceless field strength with an imaginary part of the plaquette. Add five functions contract_2F(), contract_2F_at_t(), contract_2F_at_x(), contract_2F_at_y(), contract_2F_at_z(). Add four functions contract_2F_at_t(), contract_2F_at_x(), contract_2F_at_y(), contract_2F_at_z() to calculate Fourier transformation. Add four functions global_corr_x(), global_corr_y(), global_corr_z(), global_corr_t() which is used in contract_2F_at_?(). [25 May 2017 Y.Taniguchi]

Definition at line 42 of file fieldStrength.h.

Constructor & Destructor Documentation

FieldStrength::FieldStrength ( )
inline

Definition at line 55 of file fieldStrength.h.

virtual FieldStrength::~FieldStrength ( )
inlinevirtual

Definition at line 58 of file fieldStrength.h.

FieldStrength::FieldStrength ( const FieldStrength )
private

Member Function Documentation

void FieldStrength::construct_Fmunu_1x1 ( Field_G Fmunu,
const int  mu,
const int  nu,
const Field_G U 
)

Constructs the anti-Hermitian field strength with four 1x1 plquette clover leaves.

Definition at line 19 of file fieldStrength.cpp.

void FieldStrength::construct_Fmunu_1x1_traceless ( Field_G Fmunu,
const int  mu,
const int  nu,
const Field_G U 
)

Constructs the anti-Hermitian traceless field strength with four 1x1 plquette clover leaves.

Definition at line 324 of file fieldStrength.cpp.

void FieldStrength::construct_Fmunu_1x2 ( Field_G Fmunu,
const int  mu,
const int  nu,
const Field_G U 
)

Constructs the anti-Hermitian field strength with eight 1x2 rectangular clover leaves.

Definition at line 89 of file fieldStrength.cpp.

void FieldStrength::construct_Fmunu_1x2_traceless ( Field_G Fmunu,
const int  mu,
const int  nu,
const Field_G U 
)

Constructs the anti-Hermitian traceless field strength with eight 1x2 rectangular clover leaves.

Definition at line 395 of file fieldStrength.cpp.

void FieldStrength::construct_Fmunu_plaq_traceless ( Field_G Fmunu,
const int  mu,
const int  nu,
const Field_G U 
)

Constructs the anti-Hermitian traceless field strength with an imaginary part of the plaquette.

Definition at line 630 of file fieldStrength.cpp.

double FieldStrength::contract ( const Field_G Fmunu_1,
const Field_G Fmunu_2 
)

Calculate $\sum_x {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$ and returns its value. Intended to be used for the topological charge and energy momentum tensor.

Definition at line 662 of file fieldStrength.cpp.

void FieldStrength::contract_at_t ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2 
)

Calculate corr[t]= $\sum_{x,y,z} {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 678 of file fieldStrength.cpp.

void FieldStrength::contract_at_t ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2,
const std::vector< int > &  momentum_sink,
const std::vector< int > &  source_position 
)

Calculate corr[t]= $\sum_{x,y,z}cos(p_xx+p_yy+p_zz){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate Fourier transformed correlations function of the topological charge and energy momentum tensor. (p_x,p_y,p_z) is given by momentum_sink.

Definition at line 706 of file fieldStrength.cpp.

void FieldStrength::contract_at_x ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2 
)

Calculate corr[x]= $\sum_{y,z,t}{\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 762 of file fieldStrength.cpp.

void FieldStrength::contract_at_x ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2,
const std::vector< int > &  momentum_sink,
const std::vector< int > &  source_position 
)

Calculate corr[x]= $\sum_{y,z,t}cos(p_yy+p_zz+p_tt){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 791 of file fieldStrength.cpp.

void FieldStrength::contract_at_y ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2 
)

Calculate corr[y]= $\sum_{x,z,t} {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 847 of file fieldStrength.cpp.

void FieldStrength::contract_at_y ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2,
const std::vector< int > &  momentum_sink,
const std::vector< int > &  source_position 
)

Calculate corr[y]= $\sum_{x,z,t}cos(p_xx+p_zz+p_tt){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 876 of file fieldStrength.cpp.

void FieldStrength::contract_at_z ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2 
)

Calculate corr[z]= $\sum_{x,y,t} {\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 932 of file fieldStrength.cpp.

void FieldStrength::contract_at_z ( std::vector< double > &  corr_global,
const Field_G Fmunu_1,
const Field_G Fmunu_2,
const std::vector< int > &  momentum_sink,
const std::vector< int > &  source_position 
)

Calculate corr[z]= $\sum_{x,y,t}cos(p_xx+p_yy+p_tt){\rm Re}{\rm tr}(F_{\mu\nu}F_{\rho\sigma})$. Intended to be used to calculate correlations function of the topological charge and energy momentum tensor.

Definition at line 961 of file fieldStrength.cpp.

void FieldStrength::global_corr_t ( std::vector< double > &  corr_global,
const std::vector< double > &  corr_local 
)

transform node-local correlator in t into global.

Definition at line 1095 of file fieldStrength.cpp.

void FieldStrength::global_corr_x ( std::vector< double > &  corr_global,
const std::vector< double > &  corr_local 
)

transform node-local correlator in x into global.

Definition at line 1017 of file fieldStrength.cpp.

void FieldStrength::global_corr_y ( std::vector< double > &  corr_global,
const std::vector< double > &  corr_local 
)

transform node-local correlator in y into global.

Definition at line 1043 of file fieldStrength.cpp.

void FieldStrength::global_corr_z ( std::vector< double > &  corr_global,
const std::vector< double > &  corr_local 
)

transform node-local correlator in z into global.

Definition at line 1069 of file fieldStrength.cpp.

FieldStrength& FieldStrength::operator= ( const FieldStrength )
private

Member Data Documentation

const std::string FieldStrength::class_name = "FieldStrengh"
static

Definition at line 45 of file fieldStrength.h.

ShiftField_lex FieldStrength::m_shift
private

Definition at line 51 of file fieldStrength.h.

Staple_lex FieldStrength::m_staple
private

Definition at line 52 of file fieldStrength.h.

Bridge::VerboseLevel FieldStrength::m_vl
protected

Definition at line 48 of file fieldStrength.h.


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