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