Bridge++
Version 1.5.4
|
Two-point correlator for Wilson-type fermions. More...
#include <corr2pt_4spinor.h>
Public Member Functions | |
Corr2pt_4spinor (GammaMatrixSet *gmset) | |
Corr2pt_4spinor (unique_ptr< GammaMatrixSet > &gmset) | |
virtual void | set_parameters (const Parameters ¶ms) |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
double | meson_all (const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2) |
void | meson_correlator (std::vector< dcomplex > &corr_global, const GammaMatrix &gm_sink, const GammaMatrix &gm_src, const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2) |
corr_global=(sq2)_{ab}(0,x) (gm_sink)_{bc} (sq1)_{cd}(x,0) (gm_src)_{da}=(sq2^*)_{ba}(x,0) (gamma_5 gm_sink)_{bc} (sq1)_{cd}(x,0) (gm_src gamma_5)_{da} , where sq1 and sq2 are quark propagators. More... | |
double | meson_momentum_all (const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2, const std::vector< int > &source_position) |
void | meson_momentum_correlator (std::vector< dcomplex > &corr_global, const std::vector< int > &momentum_sink, const GammaMatrix &gm_sink, const GammaMatrix &gm_src, const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2, const std::vector< int > &source_position) |
double | proton_test (const std::vector< Field_F > &sq_u, const std::vector< Field_F > &sq_d) |
void | proton_correlator (std::vector< dcomplex > &corr_global, const GammaMatrix &gm, const std::vector< Field_F > &sq_u, const std::vector< Field_F > &sq_d) |
void | meson_correlator_x (std::vector< dcomplex > &meson, const GammaMatrix &gm_sink, const GammaMatrix &gm_src, const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2) |
void | meson_momentum_correlator_x (std::vector< dcomplex > &corr_global, const std::vector< int > &momentum_sink, const GammaMatrix &gm_sink, const GammaMatrix &gm_src, const std::vector< Field_F > &sq1, const std::vector< Field_F > &sq2, const std::vector< int > &source_position) |
void | proton_correlator_x (std::vector< dcomplex > &proton, const GammaMatrix &gm, const std::vector< Field_F > &squ, const std::vector< Field_F > &sqd) |
Static Public Attributes | |
static const std::string | class_name = "Corr2pt_4spinor" |
Protected Attributes | |
Bridge::VerboseLevel | m_vl |
Private Member Functions | |
Corr2pt_4spinor (const Corr2pt_4spinor &) | |
Corr2pt_4spinor & | operator= (const Corr2pt_4spinor &) |
void | init () |
Private Attributes | |
std::string | m_filename_output |
GammaMatrixSet * | m_gmset |
Two-point correlator for Wilson-type fermions.
Meson correlators were implemented. [4 Feb 2012 H.Matsufuru] Baryon (proton) correlator was implemented by K.Nemuta. This implementation assumes Nc=3, and some of parameters are replaced by explicit numbers. Better performance version: [28 Jul 2012 H.Matsufuru]. unique_ptr is introduced to avoid memory leaks. Add momentum of sink. [21 Mar 2015 Y.Namekawa] Add parameters for output. [27 Jun 2016 Y.Namekawa] Move a funciton global_corr_t() to contract_4spinor.h since this function should always be combined with a function contract_at_t() there. [25 May 2017 Y.Taniguchi]
Definition at line 42 of file corr2pt_4spinor.h.
|
inline |
Definition at line 56 of file corr2pt_4spinor.h.
|
inline |
Definition at line 62 of file corr2pt_4spinor.h.
|
private |
|
private |
Definition at line 34 of file corr2pt_4spinor.cpp.
double Corr2pt_4spinor::meson_all | ( | const std::vector< Field_F > & | sq1, |
const std::vector< Field_F > & | sq2 | ||
) |
Definition at line 43 of file corr2pt_4spinor.cpp.
void Corr2pt_4spinor::meson_correlator | ( | std::vector< dcomplex > & | corr_global, |
const GammaMatrix & | gm_sink, | ||
const GammaMatrix & | gm_src, | ||
const std::vector< Field_F > & | sq1, | ||
const std::vector< Field_F > & | sq2 | ||
) |
corr_global=(sq2)_{ab}(0,x) (gm_sink)_{bc} (sq1)_{cd}(x,0) (gm_src)_{da}=(sq2^*)_{ba}(x,0) (gamma_5 gm_sink)_{bc} (sq1)_{cd}(x,0) (gm_src gamma_5)_{da} , where sq1 and sq2 are quark propagators.
Definition at line 187 of file corr2pt_4spinor.cpp.
void Corr2pt_4spinor::meson_correlator_x | ( | std::vector< dcomplex > & | meson, |
const GammaMatrix & | gm_sink, | ||
const GammaMatrix & | gm_src, | ||
const std::vector< Field_F > & | sq1, | ||
const std::vector< Field_F > & | sq2 | ||
) |
Definition at line 562 of file corr2pt_4spinor.cpp.
double Corr2pt_4spinor::meson_momentum_all | ( | const std::vector< Field_F > & | sq1, |
const std::vector< Field_F > & | sq2, | ||
const std::vector< int > & | source_position | ||
) |
Definition at line 224 of file corr2pt_4spinor.cpp.
void Corr2pt_4spinor::meson_momentum_correlator | ( | std::vector< dcomplex > & | corr_global, |
const std::vector< int > & | momentum_sink, | ||
const GammaMatrix & | gm_sink, | ||
const GammaMatrix & | gm_src, | ||
const std::vector< Field_F > & | sq1, | ||
const std::vector< Field_F > & | sq2, | ||
const std::vector< int > & | source_position | ||
) |
Definition at line 381 of file corr2pt_4spinor.cpp.
void Corr2pt_4spinor::meson_momentum_correlator_x | ( | std::vector< dcomplex > & | corr_global, |
const std::vector< int > & | momentum_sink, | ||
const GammaMatrix & | gm_sink, | ||
const GammaMatrix & | gm_src, | ||
const std::vector< Field_F > & | sq1, | ||
const std::vector< Field_F > & | sq2, | ||
const std::vector< int > & | source_position | ||
) |
Definition at line 604 of file corr2pt_4spinor.cpp.
|
private |
void Corr2pt_4spinor::proton_correlator | ( | std::vector< dcomplex > & | corr_global, |
const GammaMatrix & | gm, | ||
const std::vector< Field_F > & | sq_u, | ||
const std::vector< Field_F > & | sq_d | ||
) |
Definition at line 479 of file corr2pt_4spinor.cpp.
void Corr2pt_4spinor::proton_correlator_x | ( | std::vector< dcomplex > & | proton, |
const GammaMatrix & | gm, | ||
const std::vector< Field_F > & | squ, | ||
const std::vector< Field_F > & | sqd | ||
) |
Definition at line 646 of file corr2pt_4spinor.cpp.
double Corr2pt_4spinor::proton_test | ( | const std::vector< Field_F > & | sq_u, |
const std::vector< Field_F > & | sq_d | ||
) |
Definition at line 420 of file corr2pt_4spinor.cpp.
|
inline |
Definition at line 76 of file corr2pt_4spinor.h.
|
virtual |
Definition at line 21 of file corr2pt_4spinor.cpp.
|
static |
Definition at line 45 of file corr2pt_4spinor.h.
|
private |
Definition at line 51 of file corr2pt_4spinor.h.
|
private |
Definition at line 53 of file corr2pt_4spinor.h.
|
protected |
Definition at line 48 of file corr2pt_4spinor.h.