CHROMA
cfgtype_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Configuration structure IO
4  */
5 
6 #ifndef __cfgtype_io_h__
7 #define __cfgtype_io_h__
8 
10 
11 namespace Chroma
12 {
13  //! Gauge configuration structure
14  /*! \ingroup io */
15  struct Cfg_t
16  {
17  CfgType cfg_type; // storage order for stored gauge configuration
19  };
20 
21 
22  //! Configuration input
23  /*! \ingroup io */
24  void read(XMLReader& xml, const std::string& path, Cfg_t& input);
25 
26  //! Configuration input
27  /*! \ingroup io */
28  void write(XMLWriter& xml, const std::string& path, const Cfg_t& input);
29 
30 } //end namespace chroma
31 
32 #endif
CfgType enum.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams &param)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
CfgType
Configuration type.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
Gauge configuration structure.
Definition: cfgtype_io.h:16
std::string cfg_file
Definition: cfgtype_io.h:18
CfgType cfg_type
Definition: cfgtype_io.h:17