Bridge++  Ver. 2.0.2
energyMomentumTensor.h
Go to the documentation of this file.
1 
14 #ifndef ENERGY_MOMENTUM_TENSOR_INCLUDED
15 #define ENERGY_MOMENTUM_TENSOR_INCLUDED
16 
17 #include "fieldStrength.h"
18 
19 #include "IO/bridgeIO.h"
20 using Bridge::vout;
21 
23 
40 {
41  public:
42  static const std::string class_name;
43 
44  protected:
46 
47  private:
48  std::string m_filename_output;
49 
50  double m_c_plaq;
51  double m_c_rect;
53  int m_max_mom;
54 
56 
57  std::vector<Field_G> m_Fmunu_plaq;
58  std::vector<Field_G> m_Fmunu_1x1;
59  std::vector<Field_G> m_Fmunu_1x2;
61 
62  public:
64  : m_vl(CommonParameters::Vlevel())
65  {
66  m_filename_output = "stdout";
67  m_flag_field_set = 0;
68  }
69 
71  : m_vl(CommonParameters::Vlevel())
72  {
73  m_filename_output = "stdout";
74  m_flag_field_set = 0;
75 
76  set_parameters(params);
77  }
78 
80 
81  public:
83  void set_parameters(const Parameters& params);
84  void set_parameters(const double c_plaq, const double c_rect, const int max_mom);
85 
87 
88  void get_parameters(Parameters& params) const;
89 
97  double measure_EMT(const double t_flow);
98 
100  double measure_EMT_at_t(const double t_flow);
101 
111  double measure_EMT_at_t_FT(const double t_flow);
112 
114  double measure_EMT_at_x(const double t_flow);
115 
125  double measure_EMT_at_x_FT(const double t_flow);
126 
128  double measure_EMT_at_y(const double t_flow);
129 
139  double measure_EMT_at_y_FT(const double t_flow);
140 
142  double measure_EMT_at_z(const double t_flow);
143 
153  double measure_EMT_at_z_FT(const double t_flow);
154 
156  void set_field_strength(const Field_G& U);
157 
158  private:
160  int factor(const int mu, const int nu);
161 
163  int index_munu2i(int mu, int nu);
164 };
165 #endif
EnergyMomentumTensor::m_vl
Bridge::VerboseLevel m_vl
Definition: energyMomentumTensor.h:45
EnergyMomentumTensor::measure_EMT_at_z
double measure_EMT_at_z(const double t_flow)
Measure energy momentum tensor density in z direction and print out the result using an argument t_f...
Definition: energyMomentumTensor.cpp:765
EnergyMomentumTensor::m_field_strength
FieldStrength m_field_strength
Definition: energyMomentumTensor.h:55
bridgeIO.h
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
EnergyMomentumTensor::measure_EMT_at_x_FT
double measure_EMT_at_x_FT(const double t_flow)
Definition: energyMomentumTensor.cpp:460
EnergyMomentumTensor::m_Fmunu_plaq
std::vector< Field_G > m_Fmunu_plaq
Definition: energyMomentumTensor.h:57
EnergyMomentumTensor::measure_EMT_at_t
double measure_EMT_at_t(const double t_flow)
Measure energy momentum tensor density as a function of time and print out the result using an argum...
Definition: energyMomentumTensor.cpp:168
Parameters
Class for parameters.
Definition: parameters.h:46
EnergyMomentumTensor::EnergyMomentumTensor
EnergyMomentumTensor()
Definition: energyMomentumTensor.h:63
EnergyMomentumTensor::EnergyMomentumTensor
EnergyMomentumTensor(const Parameters &params)
Definition: energyMomentumTensor.h:70
EnergyMomentumTensor::index_munu2i
int index_munu2i(int mu, int nu)
Returns array number [0-5] of vector m_Fmunu correponding to (mu,nu).
Definition: energyMomentumTensor.cpp:999
fieldStrength.h
EnergyMomentumTensor::m_Fmunu_1x1
std::vector< Field_G > m_Fmunu_1x1
Definition: energyMomentumTensor.h:58
EnergyMomentumTensor::m_c_plaq
double m_c_plaq
Definition: energyMomentumTensor.h:50
EnergyMomentumTensor::set_field_strength
void set_field_strength(const Field_G &U)
Construct the anti-Hermitian traceless field strength by the flowed link U. Should be called before ...
Definition: energyMomentumTensor.cpp:964
FieldStrength
field strength construction.
Definition: fieldStrength.h:42
EnergyMomentumTensor::measure_EMT_at_y_FT
double measure_EMT_at_y_FT(const double t_flow)
Definition: energyMomentumTensor.cpp:659
EnergyMomentumTensor::measure_EMT_at_y
double measure_EMT_at_y(const double t_flow)
Measure energy momentum tensor density in y direction and print out the result using an argument t_f...
Definition: energyMomentumTensor.cpp:566
EnergyMomentumTensor::set_parameter_verboselevel
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: energyMomentumTensor.h:86
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
EnergyMomentumTensor::set_parameters
void set_parameters(const Parameters &params)
setting parameters.
Definition: energyMomentumTensor.cpp:19
EnergyMomentumTensor::m_Fmunu_1x2
std::vector< Field_G > m_Fmunu_1x2
Definition: energyMomentumTensor.h:59
EnergyMomentumTensor::m_max_mom
int m_max_mom
maximum of momentum for Fourier transformation: p_x=[0,max_mom], p_y=[-max_mom,max_mom],...
Definition: energyMomentumTensor.h:53
EnergyMomentumTensor::m_c_rect
double m_c_rect
Definition: energyMomentumTensor.h:51
EnergyMomentumTensor::measure_EMT_at_x
double measure_EMT_at_x(const double t_flow)
Measure energy momentum tensor density in x direction and print out the result using an argument t_f...
Definition: energyMomentumTensor.cpp:368
EnergyMomentumTensor::measure_EMT_at_t_FT
double measure_EMT_at_t_FT(const double t_flow)
Definition: energyMomentumTensor.cpp:262
EnergyMomentumTensor::class_name
static const std::string class_name
Definition: energyMomentumTensor.h:42
EnergyMomentumTensor::~EnergyMomentumTensor
~EnergyMomentumTensor()
Definition: energyMomentumTensor.h:79
EnergyMomentumTensor::factor
int factor(const int mu, const int nu)
Returns +1 for mu<nu, -1 for mu>nu and 0 otherwise.
Definition: energyMomentumTensor.cpp:986
EnergyMomentumTensor::m_filename_output
std::string m_filename_output
Definition: energyMomentumTensor.h:48
EnergyMomentumTensor
Energy Momentum Tensor measurement.
Definition: energyMomentumTensor.h:39
EnergyMomentumTensor::measure_EMT
double measure_EMT(const double t_flow)
Definition: energyMomentumTensor.cpp:82
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Field_G
SU(N) gauge field.
Definition: field_G.h:38
EnergyMomentumTensor::m_flag_field_set
int m_flag_field_set
Definition: energyMomentumTensor.h:60
EnergyMomentumTensor::measure_EMT_at_z_FT
double measure_EMT_at_z_FT(const double t_flow)
Definition: energyMomentumTensor.cpp:858
EnergyMomentumTensor::get_parameters
void get_parameters(Parameters &params) const
Definition: energyMomentumTensor.cpp:51
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512