CHROMA
gauge_io.h
Go to the documentation of this file.
1 
2 /*! \file
3  * \brief Gauge reader/writers in QIO format
4  */
5 
6 #ifndef __gauge_io_h__
7 #define __gauge_io_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma {
12 
13 //! Read a gauge config in QIO format
14 /*!
15  * \ingroup io
16  *
17  * \param file_xml xml reader holding config info ( Modify )
18  * \param record_xml xml reader holding config info ( Modify )
19  * \param u gauge configuration ( Modify )
20  * \param file path ( Read )
21  * \param serpar either QDPIO_SERIAL, QDPIO_PARALLEL ( Read )
22  */
23 
24 void readGauge(XMLReader& file_xml,
25  XMLReader& record_xml,
26  multi1d<LatticeColorMatrix>& u,
27  const std::string& file,
28  QDP_serialparallel_t serpar);
29 
30 
31 //! Write a gauge config in QIO format
32 /*!
33  * \ingroup io
34  *
35  * \param file_xml xml reader holding config info ( Modify )
36  * \param record_xml xml reader holding config info ( Modify )
37  * \param u gauge configuration ( Read )
38  * \param cfg_file path ( Read )
39  * \param volfmt either QDPIO_SINGLEFILE, QDPIO_MULTIFILE ( Read )
40  * \param serpar either QDPIO_SERIAL, QDPIO_PARALLEL ( Read )
41  */
42 
43 void writeGauge(XMLBufferWriter& file_xml,
44  XMLBufferWriter& record_xml,
45  const multi1d<LatticeColorMatrix>& u,
46  const std::string& file,
47  QDP_volfmt_t volfmt,
48  QDP_serialparallel_t serpar);
49 
50 } // end namespace Chroma
51 
52 #endif
Primary include file for CHROMA library code.
void readGauge(XMLReader &file_xml, XMLReader &record_xml, multi1d< LatticeColorMatrix > &u, const std::string &file, QDP_serialparallel_t serpar)
Read a gauge config in QIO format.
Definition: gauge_io.cc:19
void writeGauge(XMLBufferWriter &file_xml, XMLBufferWriter &record_xml, const multi1d< LatticeColorMatrix > &u, const std::string &file, QDP_volfmt_t volfmt, QDP_serialparallel_t serpar)
Write a gauge config in QIO format.
Definition: gauge_io.cc:60
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
::std::string string
Definition: gtest.h:1979