CHROMA
block_couplings.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Caclulates the couplings between neighboring blocks given a displacement path
4  */
5 
6 #ifndef __block_couplings_h__
7 #define __block_couplings_h__
8 
9 #include <vector>
10 #include "chromabase.h"
11 
12 namespace Chroma
13 {
14  //! Holds info on the coupling of sites that are displaced within a block
15  /*!
16  * \ingroup ferm
17  * @{
18  */
20  {
21  public:
22  int blk;
23  multi1d<int> disp;
24  DisplacedBlock(int b, multi1d<int> d) : blk(b),disp(d) {}
25  DisplacedBlock() : blk(0) {}
26  };
27 
28  std::vector<int> block_couplings(const int b,
29  const Set& S,const multi1d<int>& disp,
30  const int len);
31 
32  bool blocks_couple(const multi1d<DisplacedBlock>& b,
33  const Set& S,
34  const int len,int f);
35 
36  bool blocks_couple(const multi1d<DisplacedBlock>& b,
37  const Set& S,
38  const int len) ;
39 
40  /*! @} */ // end of group ferm
41 } // namespace Chroma
42 
43 #endif
Primary include file for CHROMA library code.
Holds info on the coupling of sites that are displaced within a block.
DisplacedBlock(int b, multi1d< int > d)
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
bool blocks_couple(const multi1d< DisplacedBlock > &b, const Set &S, const int len, int blocks_to_check)
DComplex d
Definition: invbicg.cc:99
std::vector< int > block_couplings(const int b, const Set &S, const multi1d< int > &disp, const int len)
Complex b
Definition: invbicg.cc:96