CHROMA
aniso_io.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Anisotropy parameters
4  */
5 
6 #ifndef __aniso_io_h__
7 #define __aniso_io_h__
8 
9 #include "chromabase.h"
10 
11 namespace Chroma
12 {
13 
14  /*!
15  * Types and structures
16  *
17  * \ingroup io
18  *
19  * @{
20  */
21 
22  //! Parameters for anisotropy
23  struct AnisoParam_t
24  {
25  AnisoParam_t(); // default constructor
27 
28  bool anisoP;
29  int t_dir;
30  Real xi_0;
31  Real nu;
32  };
33 
34  //! Read a anisotropy param struct
35  void read(XMLReader& xml, const std::string& path, AnisoParam_t& param);
36 
37  //! Write a anisotropy param struct
38  void write(XMLWriter& xml, const std::string& path, const AnisoParam_t& param);
39 
40  //! Make fermion coefficients
41  multi1d<Real> makeFermCoeffs(const AnisoParam_t& aniso);
42 
43  /*! @} */ // end of group io
44 
45 } //end namespace chroma
46 #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
multi1d< Real > makeFermCoeffs(const AnisoParam_t &aniso)
Make fermion coefficients.
Definition: aniso_io.cc:63
::std::string string
Definition: gtest.h:1979
Parameters for anisotropy.
Definition: aniso_io.h:24
AnisoParam_t()
Initialize a anisotropy param struct.
Definition: aniso_io.cc:11