CHROMA
szin_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*! \file
4  * \brief Routines associated with SZIN gauge field IO
5  */
6 
7 #ifndef __szin_io_h__
8 #define __szin_io_h__
9 
10 #include "chromabase.h"
11 
12 namespace Chroma {
13 
14 
15 //! Szin gauge field header
17 {
18  SzinGauge_t(); // default constructor
19 
20  multi1d<int> nrow; // Lattice size
21  int Nd; // Number of spacetime dimensions
22  int Nc; // Number of colors
23 
24  int TotalTrj; // Total number of trajectories
25  int TotalCG; // Total number of CG iterations
26  int FermTypeP; // Fermion type
27  int spec_acc; /* Acceptance flag for spectroscopy */
28 //int MesItr; /* Iterations per measurement */
29 //int TotalItr; /* Total number of iterations */
30  int NOver; /* Number of overrelaxation steps */
31  int TotalTry; /* Total number of heatbath trials */
32  int TotalFail; /* Total number of heatbath failures */
33  int Npf; /* Number of pseudofermions */
34  int RefMomTrj; /* Trajectories per momentum refreshment */
35  int RefFnoiseTrj; /* Trajectories per fermion-noise refreshment */
36  Real32 MesTrj; // Trajectories per measurement (as a Float)
37  Real32 BetaMC; /* 6/g**2 */
38  Real32 BetaMD; /* 6/g**2 (MD) */
39  Real32 dt; /* Step size */
40  Real32 KappaMC; /* Hopping parameter */
41  Real32 KappaMD; /* Hopping parameter */
42  Real32 MassMC; /* MC mass */
43  Real32 MassMD; /* MC mass */
44  Real32 Nf; /* Number of flavours */
45  Real32 LamPl; /* Stochastic acc/rej parameter */
46  Real32 LamMi; /* Stochastic acc/rej parameter */
47  Real32 AlpLog; /* For estimate of Log(1+x) */
48  Real32 AlpExp; /* For estimate of Exp(x) */
49  QDP::Seed seed; /* Random number seed */
50 
51  int cfg_version; /* Configuration file version number */
52 
55 };
56 
57 
58 //! Source header read
59 void read(XMLReader& xml, const std::string& path, SzinGauge_t& header);
60 
61 //! Source header writer
62 void write(XMLWriter& xml, const std::string& path, const SzinGauge_t& header);
63 
64 } // end namespace Chroma
65 
66 #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
Szin gauge field header.
Definition: szin_io.h:17
std::string date
Definition: szin_io.h:54
QDP::Seed seed
Definition: szin_io.h:49
std::string banner
Definition: szin_io.h:53
multi1d< int > nrow
Definition: szin_io.h:20