CHROMA
pion_local_s.h
Go to the documentation of this file.
1 #ifndef PION_LOCAL_S_H
2 #define PION_LOCAL_S_H
3 
4 
5 
8 #include "util/ft/sftmom.h"
9 
10 namespace Chroma {
11 
12 /*
13 
14 This is code to compute the local pseudoscalars
15 using staggered fermions.
16 
17 */
18 
19  class staggered_hadron_corr ;
20 
22  {
23 
24 
25  public :
26  void compute(LatticeStaggeredPropagator& quark_prop_A,
27  LatticeStaggeredPropagator& quark_prop_B,
28  int j_decay) ;
29 
30  // This is very ugly
31  void compute(multi1d<LatticeStaggeredPropagator>& quark_props,
32  int j_decay) { QDP_abort(1); }
33 
34 
35 
36 
37  void
39  LatticeStaggeredPropagator& quark_prop_A,
40  LatticeStaggeredPropagator& quark_prop_B,
41  int j_decay, int ,
42  const SftMom& phases, XMLWriter& xml) ;
43 
44 
46  const multi1d<LatticeColorMatrix> & uin,
47  Stag_shift_option type_of_shift_in = SYM_GAUGE_INVAR)
48  : staggered_hadron_corr(t_len,no_pions,uin,type_of_shift_in)
49  {
50  outer_tag = "Pseudoscalar" ;
51  inner_tag = "Pi" ;
52 
53  tag_names.resize(no_pions) ;
54  for(int i = 0 ; i < no_pions ; ++i )
55  {
56  std::ostringstream tag;
57  tag << "re_pion" << i;
58  tag_names[i] = tag.str() ;
59  }
60 
61  }
62 
64  {
65  }
66 
67 
68  protected:
69 
70  private :
71  static const int no_pions = 1 ;
72 
73  } ;
74 
75 
76 } // end namespace Chroma
77 
78 
79 #endif
Fourier transform phase factor support.
Definition: sftmom.h:35
multi1d< std::string > tag_names
void compute(LatticeStaggeredPropagator &quark_prop_A, LatticeStaggeredPropagator &quark_prop_B, int j_decay)
Definition: pion_local_s.cc:56
static const int no_pions
Definition: pion_local_s.h:71
staggered_local_pion(int t_len, const multi1d< LatticeColorMatrix > &uin, Stag_shift_option type_of_shift_in=SYM_GAUGE_INVAR)
Definition: pion_local_s.h:45
void compute_and_dump(LatticeStaggeredPropagator &quark_prop_A, LatticeStaggeredPropagator &quark_prop_B, int j_decay, int, const SftMom &phases, XMLWriter &xml)
void compute(multi1d< LatticeStaggeredPropagator > &quark_props, int j_decay)
Definition: pion_local_s.h:31
int j_decay
Definition: meslate.cc:22
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
int i
Definition: pbg5p_w.cc:55
std::string tag(const std::string &prefix)
Definition: octave.h:15
Fourier transform phase factor support.