CHROMA
time_slice_set.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Convenience for building time-slice subsets
4  */
5 
6 #ifndef __time_slice_set_h__
7 #define __time_slice_set_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma
12 {
13 
14  //! Builds time slice subsets
15  /*!
16  * \ingroup ft
17  */
19  {
20  public:
21  //! Constructor about origin
23 
24  //! The set to be used in sumMulti
25  const Set& getSet() const {return sft_set;}
26 
27  //! Number of subsets - length in decay direction
28  int numSubsets() const {return sft_set.numSubsets();}
29 
30  //! Number of sites in each subset
31  int numSites() const;
32 
33  //! Decay direction
34  int getDir() const {return decay_dir;}
35 
36  private:
37  TimeSliceSet() {} // hide default constructor
38 
39  int decay_dir;
40  Set sft_set;
41  };
42 
43 } // end namespace Chroma
44 
45 #endif
Primary include file for CHROMA library code.
Builds time slice subsets.
const Set & getSet() const
The set to be used in sumMulti.
int numSubsets() const
Number of subsets - length in decay direction.
int numSites() const
Number of sites in each subset.
int getDir() const
Decay direction.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10