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

Topological Charge measurement. More...

#include <topologicalCharge.h>

Public Member Functions

 TopologicalCharge ()
 
virtual ~TopologicalCharge ()
 
virtual void set_parameters (const Parameters &params)
 setting parameters. More...
 
void set_parameters (const double c_plaq, const double c_rect, const int max_mom)
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
double measure (const Field_G &U)
 main function to measure Topological Charge. The field strength is constructed inside the function. More...
 
void measure_topological_charge (const double tt)
 
void measure_topological_density_t (const double tt)
 Measure topological charge density corr[t]= $1/V_{xyz}\sum_{x,y,z}q(x,y,z,t)$ in temporal direction using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_t_FT (const double tt)
 Measure Fourier transformation of topological charge density corr[t]= $1/V_{xyz}\sum_{x,y,z}\cos(p_xx+p_yy+p_zz)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_x (const double tt)
 Measure topological charge density corr[x]= $1/V_{yzt}\sum_{y,z,t}q(x,y,z,t)$ in x direction using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_x_FT (const double tt)
 Measure Fourier transformation of topological charge density corr[x]= $1/V_{yzt}\sum_{y,z,t}\cos(p_yy+p_zz+p_tt)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_y (const double tt)
 Measure topological charge density corr[y]= $1/V_{xzt}\sum_{x,z,t}q(x,y,z,t)$ in y direction using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_y_FT (const double tt)
 Measure Fourier transformation of topological charge density corr[y]= $1/V_{xzt}\sum_{x,z,t}\cos(p_xx+p_zz+p_tt)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_z (const double tt)
 Measure topological charge density corr[z]= $1/V_{xyt}\sum_{x,y,t}q(x,y,z,t)$ in z direction using the stored m_Fmunu and print out the result using an argument tt. More...
 
void measure_topological_density_z_FT (const double tt)
 Measure Fourier transformation of topological charge density corr[z]= $1/V_{xyt}\sum_{x,y,t}\cos(p_xx+p_yy+p_tt)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt. More...
 
void set_field_strength (const Field_G &U)
 Construct the anti-Hermitian traceless field strength $F_{\mu\nu}$ by the link U. Should be called before measuring the topological charge and density. More...
 

Static Public Attributes

static const std::string class_name = "TopologicalCharge"
 

Protected Attributes

Bridge::VerboseLevel m_vl
 

Private Member Functions

 TopologicalCharge (const TopologicalCharge &)
 
TopologicalChargeoperator= (const TopologicalCharge &)
 

Private Attributes

std::string m_filename_output
 
double m_c_plaq
 
double m_c_rect
 
int m_max_mom
 maximum of momentum for Fourier transformation: p_x=[0,max_mom], p_y=[-max_mom,max_mom], p_z=[-max_mom,max_mom] More...
 
FieldStrength m_field_strength
 
std::vector< Field_Gm_Fmunu_plaq
 
std::vector< Field_Gm_Fmunu_1x1
 
std::vector< Field_Gm_Fmunu_1x2
 
bool m_flag_field_set
 

Detailed Description

Topological Charge measurement.

This class measures a topological charge defined by a clover leaf on the lattice. [01 Jan 2014 Y.Namekawa] Add three members m_Fmunu_1x1, m_Fmunu_1x2, m_Fmunu_plaq to store a field strength. Whether they have already been stored or not is specified by a member m_flag_field_set. Add a function set_field_strength() to store a field strength into the member m_Fmunu. Move a function contract_epsilon_tensor() to fieldStrength.h renaming contract_2F(). Add a function measure_topological_charge. Add four functions measure_topological_density_t(), measure_topological_density_x(), measure_topological_density_y(), measure_topological_density_z(). [25 May 2017 Y.Taniguchi]

Definition at line 43 of file topologicalCharge.h.

Constructor & Destructor Documentation

TopologicalCharge::TopologicalCharge ( )
inline

Definition at line 68 of file topologicalCharge.h.

virtual TopologicalCharge::~TopologicalCharge ( )
inlinevirtual

Definition at line 75 of file topologicalCharge.h.

TopologicalCharge::TopologicalCharge ( const TopologicalCharge )
private

Member Function Documentation

double TopologicalCharge::measure ( const Field_G U)

main function to measure Topological Charge. The field strength is constructed inside the function.

Definition at line 68 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_charge ( const double  tt)

Measure topological charge using the stored m_Fmunu. The field strength should be constructed by the link U beforehand. This is an upper compatible of measure() including a measurement with Fmunu_plaq. The flow time tt in the argument is used just for print out. The function measure() is better if you are not interested in the topological charge density correlation functions.

Definition at line 170 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_t ( const double  tt)

Measure topological charge density corr[t]= $1/V_{xyz}\sum_{x,y,z}q(x,y,z,t)$ in temporal direction using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 239 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_t_FT ( const double  tt)

Measure Fourier transformation of topological charge density corr[t]= $1/V_{xyz}\sum_{x,y,z}\cos(p_xx+p_yy+p_zz)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 361 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_x ( const double  tt)

Measure topological charge density corr[x]= $1/V_{yzt}\sum_{y,z,t}q(x,y,z,t)$ in x direction using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 491 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_x_FT ( const double  tt)

Measure Fourier transformation of topological charge density corr[x]= $1/V_{yzt}\sum_{y,z,t}\cos(p_yy+p_zz+p_tt)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 614 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_y ( const double  tt)

Measure topological charge density corr[y]= $1/V_{xzt}\sum_{x,z,t}q(x,y,z,t)$ in y direction using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 744 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_y_FT ( const double  tt)

Measure Fourier transformation of topological charge density corr[y]= $1/V_{xzt}\sum_{x,z,t}\cos(p_xx+p_zz+p_tt)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 867 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_z ( const double  tt)

Measure topological charge density corr[z]= $1/V_{xyt}\sum_{x,y,t}q(x,y,z,t)$ in z direction using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 997 of file topologicalCharge.cpp.

void TopologicalCharge::measure_topological_density_z_FT ( const double  tt)

Measure Fourier transformation of topological charge density corr[z]= $1/V_{xyt}\sum_{x,y,t}\cos(p_xx+p_yy+p_tt)q(x,y,z,t)$ using the stored m_Fmunu and print out the result using an argument tt.

Definition at line 1120 of file topologicalCharge.cpp.

TopologicalCharge& TopologicalCharge::operator= ( const TopologicalCharge )
private
void TopologicalCharge::set_field_strength ( const Field_G U)

Construct the anti-Hermitian traceless field strength $F_{\mu\nu}$ by the link U. Should be called before measuring the topological charge and density.

Definition at line 1268 of file topologicalCharge.cpp.

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

Definition at line 87 of file topologicalCharge.h.

void TopologicalCharge::set_parameters ( const Parameters params)
virtual

setting parameters.

Definition at line 19 of file topologicalCharge.cpp.

void TopologicalCharge::set_parameters ( const double  c_plaq,
const double  c_rect,
const int  max_mom 
)

Definition at line 49 of file topologicalCharge.cpp.

Member Data Documentation

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

Definition at line 46 of file topologicalCharge.h.

double TopologicalCharge::m_c_plaq
private

Definition at line 54 of file topologicalCharge.h.

double TopologicalCharge::m_c_rect
private

Definition at line 55 of file topologicalCharge.h.

FieldStrength TopologicalCharge::m_field_strength
private

Definition at line 60 of file topologicalCharge.h.

std::string TopologicalCharge::m_filename_output
private

Definition at line 52 of file topologicalCharge.h.

bool TopologicalCharge::m_flag_field_set
private

Definition at line 65 of file topologicalCharge.h.

std::vector<Field_G> TopologicalCharge::m_Fmunu_1x1
private

Definition at line 63 of file topologicalCharge.h.

std::vector<Field_G> TopologicalCharge::m_Fmunu_1x2
private

Definition at line 64 of file topologicalCharge.h.

std::vector<Field_G> TopologicalCharge::m_Fmunu_plaq
private

Definition at line 62 of file topologicalCharge.h.

int TopologicalCharge::m_max_mom
private

maximum of momentum for Fourier transformation: p_x=[0,max_mom], p_y=[-max_mom,max_mom], p_z=[-max_mom,max_mom]

Definition at line 58 of file topologicalCharge.h.

Bridge::VerboseLevel TopologicalCharge::m_vl
protected

Definition at line 49 of file topologicalCharge.h.


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