CHROMA
cppacs_io.h
Go to the documentation of this file.
1 
2 /*! \file
3  * \brief CPPACS gauge format routines
4  */
5 
6 #ifndef __cppacs_io_h__
7 #define __cppacs_io_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma {
12 
13 
14 //! CPPACS gauge field header
16 {
17  multi1d<int> nrow; // Lattice size
18  std::string date; // ASCII date and time of file creation
19 };
20 
21 
22 //! Initialize header with default values
23 void CPPACSGaugeInit(CPPACSGauge_t& header);
24 
25 //! Source header read
26 void read(XMLReader& xml, const std::string& path, CPPACSGauge_t& header);
27 
28 //! Source header writer
29 void write(XMLWriter& xml, const std::string& path, const CPPACSGauge_t& header);
30 
31 } // end namespace Chroma
32 
33 #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
void CPPACSGaugeInit(CPPACSGauge_t &header)
Initialize header with default values.
Definition: cppacs_io.cc:13
::std::string string
Definition: gtest.h:1979
CPPACS gauge field header.
Definition: cppacs_io.h:16
multi1d< int > nrow
Definition: cppacs_io.h:17
std::string date
Definition: cppacs_io.h:18