CHROMA
milc_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! \file
4  * \brief MILC gauge format routines
5  */
6 
7 #ifndef __milc_io_h__
8 #define __milc_io_h__
9 
10 #include "chromabase.h"
11 
12 namespace Chroma {
13 
14 
15 //! MILC gauge field header
17 {
18  MILCGauge_t(); /*!< Default constructor */
19  multi1d<int> nrow; /*!< Lattice size */
20  std::string date; /*!< ASCII date and time of file creation (64 bytes long) */
21 };
22 
23 
24 //! Source header read
25 void read(XMLReader& xml, const std::string& path, MILCGauge_t& header);
26 
27 //! Source header writer
28 void write(XMLWriter& xml, const std::string& path, const MILCGauge_t& header);
29 
30 } // end namespace Chroma
31 
32 #endif
Primary include file for CHROMA library code.
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.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
::std::string string
Definition: gtest.h:1979
MILC gauge field header.
Definition: milc_io.h:17
multi1d< int > nrow
Definition: milc_io.h:19
MILCGauge_t()
Initialize header with default values.
Definition: milc_io.cc:14
std::string date
Definition: milc_io.h:20