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

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 &params)
 
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_4spinoroperator= (const Corr2pt_4spinor &)
 
void init ()
 

Private Attributes

std::string m_filename_output
 
GammaMatrixSetm_gmset
 

Detailed Description

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.

Constructor & Destructor Documentation

Corr2pt_4spinor::Corr2pt_4spinor ( GammaMatrixSet gmset)
inline

Definition at line 56 of file corr2pt_4spinor.h.

Corr2pt_4spinor::Corr2pt_4spinor ( unique_ptr< GammaMatrixSet > &  gmset)
inline

Definition at line 62 of file corr2pt_4spinor.h.

Corr2pt_4spinor::Corr2pt_4spinor ( const Corr2pt_4spinor )
private

Member Function Documentation

void Corr2pt_4spinor::init ( )
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.

Corr2pt_4spinor& Corr2pt_4spinor::operator= ( const Corr2pt_4spinor )
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.

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

Definition at line 76 of file corr2pt_4spinor.h.

void Corr2pt_4spinor::set_parameters ( const Parameters params)
virtual

Definition at line 21 of file corr2pt_4spinor.cpp.

Member Data Documentation

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

Definition at line 45 of file corr2pt_4spinor.h.

std::string Corr2pt_4spinor::m_filename_output
private

Definition at line 51 of file corr2pt_4spinor.h.

GammaMatrixSet* Corr2pt_4spinor::m_gmset
private

Definition at line 53 of file corr2pt_4spinor.h.

Bridge::VerboseLevel Corr2pt_4spinor::m_vl
protected

Definition at line 48 of file corr2pt_4spinor.h.


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