CHROMA
readszin.h
Go to the documentation of this file.
1 
2 /*! \file
3  * \brief Read in a configuration written by SZIN up to configuration version 7.
4  */
5 
6 #ifndef __readszin_h__
7 #define __readszin_h__
8 
9 #include "io/szin_io.h"
10 
11 namespace Chroma {
12 
13 //! Read a SZIN configuration file
14 /*!
15  * Gauge field layout is (fortran ordering)
16  * u(real/imag,color_row,color_col,site,cb,Nd)
17  * = u(2,Nc,Nc,VOL_CB,2,4)
18  *
19  *
20  * \param xml xml reader holding config info ( Modify )
21  * \param u gauge configuration ( Modify )
22  * \param cfg_file path ( Read )
23  */
24 
25 void readSzin(XMLReader& xml, multi1d<LatticeColorMatrix>& u, const std::string& cfg_file);
26 
27 //! Read a SZIN configuration file
28 /*!
29  * \ingroup io
30  *
31  * Gauge field layout is (fortran ordering)
32  * u(real/imag,color_row,color_col,site,cb,Nd)
33  * = u(2,Nc,Nc,VOL_CB,2,4)
34  *
35  *
36  * \param header structure holding config info ( Modify )
37  * \param u gauge configuration ( Modify )
38  * \param cfg_file path ( Read )
39  */
40 
41 void readSzin(SzinGauge_t& header, multi1d<LatticeColorMatrix>& u, const std::string& cfg_file);
42 
43 } // end namespace Chroma
44 
45 #endif
void readSzin(SzinGauge_t &header, multi1d< LatticeColorMatrix > &u, const std::string &cfg_file)
Read a SZIN configuration file.
Definition: readszin.cc:31
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
::std::string string
Definition: gtest.h:1979
Routines associated with SZIN gauge field IO.