14 #ifndef CONTRACT_4SPINOR_INCLUDED
15 #define CONTRACT_4SPINOR_INCLUDED
56 const std::vector<int>& momentum_sink,
58 const std::vector<int>& source_position,
62 const std::vector<int>& momentum_sink,
64 const std::vector<int>& source_position,
70 const std::vector<int>& momentum_sink,
72 const std::vector<int>& source_position,
76 const std::vector<int>& momentum_sink,
78 const std::vector<int>& source_position,
98 const std::vector<int>& momentum_sink,
100 const std::vector<int>& source_position,
104 const std::vector<int>& momentum_sink,
106 const std::vector<int>& source_position,
111 const std::vector<int>& momentum_sink,
113 const std::vector<int>& source_position,
117 const std::vector<int>& momentum_sink,
119 const std::vector<int>& source_position,
139 const std::vector<int>& momentum_sink,
141 const std::vector<int>& source_position,
145 const std::vector<int>& momentum_sink,
147 const std::vector<int>& source_position,
152 const std::vector<int>& momentum_sink,
154 const std::vector<int>& source_position,
158 const std::vector<int>& momentum_sink,
160 const std::vector<int>& source_position,
174 const std::vector<int>& momentum_sink,
176 const std::vector<int>& source_position,
180 const std::vector<int>& momentum_sink,
182 const std::vector<int>& source_position,
187 const std::vector<int>& momentum_sink,
189 const std::vector<int>& source_position,
193 const std::vector<int>& momentum_sink,
195 const std::vector<int>& source_position,
200 std::vector<dcomplex>& corr_local);
204 std::vector<dcomplex>& corr_local);
208 std::vector<dcomplex>& corr_local);
212 std::vector<dcomplex>& corr_local);
void global_corr_z(std::vector< dcomplex > &corr_global, std::vector< dcomplex > &corr_local)
transform node-local correlator in z to global.
void contract_at_z_cos(dcomplex &corr, const std::vector< int > &momentum_sink, const GammaMatrix &gm_sink, const std::vector< int > &source_position, const Field_F &v1, const Field_F &v2, const int z)
contraction for meson at a given z with Fourier transformation, where (p_x,p_y,p_t) is given by momen...
void contract_at_t(dcomplex &corr, const GammaMatrix &gm_sink, const Field_F &v1, const Field_F &v2, const int time)
Contraction of hadron for 4-spinor fermion.
void contract_at_x_cos(dcomplex &corr, const std::vector< int > &momentum_sink, const GammaMatrix &gm_sink, const std::vector< int > &source_position, const Field_F &v1, const Field_F &v2, const int x)
contraction for meson at a given x with Fourier transformation, where (p_y,p_z,p_t) is given by momen...
void global_corr_x(std::vector< dcomplex > &corr_global, std::vector< dcomplex > &corr_local)
transform node-local correlator in x to global.
void contract_at_t_cos(dcomplex &corr, const std::vector< int > &momentum_sink, const GammaMatrix &gm_sink, const std::vector< int > &source_position, const Field_F &v1, const Field_F &v2, const int time)
Wilson-type fermion field.
void global_corr_t(std::vector< dcomplex > &corr_global, std::vector< dcomplex > &corr_local)
transform node-local correlator in t to global.
void contract_at_y(dcomplex &corr, const GammaMatrix &gm_sink, const Field_F &v1, const Field_F &v2, const int y)
contraction for meson at a given y.
void contract_at_x(dcomplex &corr, const GammaMatrix &gm_sink, const Field_F &v1, const Field_F &v2, int x)
void contract_at_z(dcomplex &corr, const GammaMatrix &gm_sink, const Field_F &v1, const Field_F &v2, const int z)
contraction for meson at a given z.
void global_corr_y(std::vector< dcomplex > &corr_global, std::vector< dcomplex > &corr_local)
transform node-local correlator in y to global.
void contract_at_y_cos(dcomplex &corr, const std::vector< int > &momentum_sink, const GammaMatrix &gm_sink, const std::vector< int > &source_position, const Field_F &v1, const Field_F &v2, const int y)
contraction for meson at a given y with Fourier transformation, where (p_x,p_z,p_t) is given by momen...