CHROMA
writemilc.h
Go to the documentation of this file.
1 
2 /*! \file
3  * \brief Write a MILC gauge configuration in the 1997 format
4  */
5 
6 #ifndef __writemilc_h__
7 #define __writemilc_h__
8 
9 namespace Chroma {
10 
11 
12 //! Write a MILC gauge configuration in the 1997 format
13 /*!
14  * \ingroup io
15  *
16  * \param xml xml writer holding config info ( Read )
17  * \param u gauge configuration ( Read )
18  * \param cfg_file path ( Read )
19  */
20 
21 void writeMILC(XMLBufferWriter& xml, const multi1d<LatticeColorMatrix>& u,
22  const std::string& cfg_file);
23 
24 
25 //! Write a MILC gauge configuration in the 1997 format
26 /*!
27  * \ingroup io
28  *
29  * \param header structure holding config info ( Modify )
30  * \param u gauge configuration ( Read )
31  * \param cfg_file path ( Read )
32  */
33 
34 void writeMILC(const MILCGauge_t& header, const multi1d<LatticeColorMatrix>& u,
35  const std::string& cfg_file);
36 
37 } // end namespace Chroma
38 
39 #endif
void writeMILC(const MILCGauge_t &header, const multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
Write a MILC configuration file.
Definition: writemilc.cc:25
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
::std::string string
Definition: gtest.h:1979
MILC gauge field header.
Definition: milc_io.h:17