CHROMA
source_construction.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! @file
4  * @brief Source construction
5  */
6 
7 #ifndef __source_construction_h__
8 #define __source_construction_h__
9 
10 #include "chromabase.h"
11 
12 namespace Chroma
13 {
14  //! Base class for quark source construction
15  /*! @ingroup sources
16  *
17  * Supports creation of quark sources
18  */
19  template<typename T>
21  {
22  public:
23  //! Virtual destructor to help with cleanup;
25 
26  //! Construct the source
27  virtual T operator()(const multi1d<LatticeColorMatrix>& u) const = 0;
28  };
29 
30 }
31 
32 
33 #endif
Primary include file for CHROMA library code.
Base class for quark source construction.
virtual ~QuarkSourceConstruction()
Virtual destructor to help with cleanup;.
virtual T operator()(const multi1d< LatticeColorMatrix > &u) const =0
Construct the source.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
LinOpSysSolverMGProtoClover::T T