CHROMA
extfield.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! @file
4  * @brief External field
5  */
6 
7 #ifndef __extfield_h__
8 #define __extfield_h__
9 
10 #include "chromabase.h"
11 
12 namespace Chroma
13 {
14  //! Base class for external fields
15  /*! @ingroup fermstates
16  *
17  * Supports external field creation
18  */
20  {
21  public:
22  //! Virtual destructor to help with cleanup;
23  virtual ~ExternalField() {}
24 
25  //! Produce the external field component
26  virtual LatticeComplex operator()(int dir) const = 0;
27  };
28 
29 }
30 
31 
32 #endif
Primary include file for CHROMA library code.
Base class for external fields.
Definition: extfield.h:20
virtual LatticeComplex operator()(int dir) const =0
Produce the external field component.
virtual ~ExternalField()
Virtual destructor to help with cleanup;.
Definition: extfield.h:23
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10