CHROMA
gauge_init.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! @file
3  * @brief Gauge initialization
4  */
5 
6 #ifndef __gauge_init_h__
7 #define __gauge_init_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma
12 {
13  //! Base class for gauge initialization
14  /*! @ingroup gauge
15  *
16  * Supports initialization of gauge fields
17  */
18  class GaugeInit
19  {
20  public:
21  //! Virtual destructor to help with cleanup;
22  virtual ~GaugeInit() {}
23 
24  //! Initialize the gauge field
25  virtual void operator()(XMLReader& file_xml, XMLReader& record_xml,
26  multi1d<LatticeColorMatrix>& u) const = 0;
27  };
28 
29 }
30 
31 
32 #endif
Primary include file for CHROMA library code.
Base class for gauge initialization.
Definition: gauge_init.h:19
virtual void operator()(XMLReader &file_xml, XMLReader &record_xml, multi1d< LatticeColorMatrix > &u) const =0
Initialize the gauge field.
virtual ~GaugeInit()
Virtual destructor to help with cleanup;.
Definition: gauge_init.h:22
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u