CHROMA
g4g5_x_g4g5_local.h
Go to the documentation of this file.
1 #ifndef G4G5_X_G4G5_S_H
2 #define G4G5_X_G4G5_S_H
3 
4 
5 
8 
9 namespace Chroma {
10 
11 /*
12 
13 This is code to compute the local pseudoscalars
14 using staggered fermions.
15 
16 */
17 
18  class staggered_hadron_corr ;
19 
21  {
22 
23 
24  public :
25  void compute(LatticeStaggeredPropagator& quark_prop_A,
26  LatticeStaggeredPropagator& quark_prop_B,
27  int j_decay) ;
28 
29  // This is very ugly
30  void compute(multi1d<LatticeStaggeredPropagator>& quark_props,
31  int j_decay) { QDP_abort(1); }
32 
34  const multi1d<LatticeColorMatrix> & uin,
35  Stag_shift_option type_of_shift_in = SYM_GAUGE_INVAR)
36  : staggered_hadron_corr(t_len,no_pions,uin,type_of_shift_in)
37  {
38  outer_tag = "g4g5_x_g4g5" ;
39  inner_tag = "Pi" ;
40 
41  tag_names.resize(no_pions) ;
42  for(int i = 0 ; i < no_pions ; ++i )
43  {
44  std::ostringstream tag;
45  tag << "re_pion" << i;
46  tag_names[i] = tag.str() ;
47  }
48 
49  }
50 
52  {
53  }
54 
55 
56  protected:
57 
58  private :
59  static const int no_pions = 1 ;
60 
61  } ;
62 
63 
64 } // end namespace Chroma
65 
66 
67 #endif
void compute(LatticeStaggeredPropagator &quark_prop_A, LatticeStaggeredPropagator &quark_prop_B, int j_decay)
void compute(multi1d< LatticeStaggeredPropagator > &quark_props, int j_decay)
g4g5_x_g4g5_local_meson(int t_len, const multi1d< LatticeColorMatrix > &uin, Stag_shift_option type_of_shift_in=SYM_GAUGE_INVAR)
multi1d< std::string > tag_names
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