Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
72  public:
74  virtual void set_parameters(const Parameters& params);
75  void set_parameters(const double c_plaq, const double c_rect, const int max_mom);
76 
78 
86  double measure_EMT(const double t_flow);
87 
89  double measure_EMT_at_t(const double t_flow);
90 
100  double measure_EMT_at_t_FT(const double t_flow);
101 
103  double measure_EMT_at_x(const double t_flow);
104 
114  double measure_EMT_at_x_FT(const double t_flow);
115 
117  double measure_EMT_at_y(const double t_flow);
118 
128  double measure_EMT_at_y_FT(const double t_flow);
129 
131  double measure_EMT_at_z(const double t_flow);
132 
142  double measure_EMT_at_z_FT(const double t_flow);
143 
145  void set_field_strength(const Field_G& U);
146 
147  private:
149  int factor(const int mu, const int nu);
150 
152  int index_munu2i(int mu, int nu);
153 };
154 #endif
double measure_EMT_at_z_FT(const double t_flow)
BridgeIO vout
Definition: bridgeIO.cpp:503
double measure_EMT_at_t_FT(const double t_flow)
int factor(const int mu, const int nu)
Returns +1 for mu<nu, -1 for mu>nu and 0 otherwise.
void set_field_strength(const Field_G &U)
Construct the anti-Hermitian traceless field strength by the flowed link U. Should be called before ...
Energy Momentum Tensor measurement.
Class for parameters.
Definition: parameters.h:46
std::vector< Field_G > m_Fmunu_1x2
std::vector< Field_G > m_Fmunu_plaq
Bridge::VerboseLevel m_vl
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...
SU(N) gauge field.
Definition: field_G.h:38
std::vector< Field_G > m_Fmunu_1x1
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
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...
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]
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...
Common parameter class: provides parameters as singleton.
double measure_EMT_at_x_FT(const double t_flow)
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
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...
int index_munu2i(int mu, int nu)
Returns array number [0-5] of vector m_Fmunu correponding to (mu,nu).
double measure_EMT_at_y_FT(const double t_flow)
static const std::string class_name
double measure_EMT(const double t_flow)
field strength construction.
Definition: fieldStrength.h:42
FieldStrength m_field_strength
virtual void set_parameters(const Parameters &params)
setting parameters.