CHROMA
baryon_2pt_w.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Construct baryon 2pt correlators.
4  */
5 
6 #ifndef __baryon_2pt_w_h__
7 #define __baryon_2pt_w_h__
8 
10 
11 namespace Chroma
12 {
13 
14  //! Baryon-Baryon seqsources have a time order phase
15  /*! @ingroup hadron */
16  class Baryon2PtBase : public HadronCorrelator
17  {
18  public:
19  //! Virtual destructor to help with cleanup;
20  virtual ~Baryon2PtBase() {}
21 
22  //! Construct the correlators
23  virtual multi1d<Hadron2PtContraction_t> operator()(const multi1d<LatticeColorMatrix>& u) = 0;
24 
25  protected:
26  //! Convenience function to yank the boundary condition from the forward prop headers
27  virtual void setBC(const multi1d<ForwardProp_t>& forward_headers);
28 
29  //! Set bc
30  virtual multi1d<int>& getBC() = 0;
31 
32  //! Get bc
33  virtual const multi1d<int>& getBC() const = 0;
34  };
35 
36 } // end namespace Chroma
37 
38 
39 #endif
Baryon-Baryon seqsources have a time order phase.
Definition: baryon_2pt_w.h:17
virtual ~Baryon2PtBase()
Virtual destructor to help with cleanup;.
Definition: baryon_2pt_w.h:20
virtual multi1d< Hadron2PtContraction_t > operator()(const multi1d< LatticeColorMatrix > &u)=0
Construct the correlators.
virtual void setBC(const multi1d< ForwardProp_t > &forward_headers)
Convenience function to yank the boundary condition from the forward prop headers.
virtual const multi1d< int > & getBC() const =0
Get bc.
virtual multi1d< int > & getBC()=0
Set bc.
Construct hadron 2pt correlators.
multi1d< ForwardProp_t > & forward_headers
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u