CHROMA
schr_gaugebc_params.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Schroedinger functional gauge boundary conditions
3  */
4 
6 
7 namespace Chroma
8 {
9 
11  {
12  SchrPhiMult = 1;
13  decay_dir = Nd-1;
14  loop_extent = 1;
15  }
16 
18  {
19  XMLReader paramtop(xml, path);
20 
21  read(paramtop, "SchrPhiMult", SchrPhiMult);
22  read(paramtop, "decay_dir", decay_dir);
23  read(paramtop, "loop_extent", loop_extent);
24  }
25 
26  void read(XMLReader& xml, const std::string& path, SchrGaugeBCParams& p)
27  {
28  SchrGaugeBCParams tmp(xml, path);
29  p = tmp;
30  }
31 
32  void write(XMLWriter& xml, const std::string& path, const SchrGaugeBCParams& p)
33  {
34  push(xml, path);
35  write(xml, "SchrPhiMult", p.SchrPhiMult);
36  write(xml, "decay_dir", p.decay_dir);
37  write(xml, "loop_extent", p.loop_extent);
38  pop(xml);
39  }
40 
41 }
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.
Nd
Definition: meslate.cc:74
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
LatticeFermion tmp
Definition: mespbg5p_w.cc:36
push(xml_out,"Condensates")
pop(xml_out)
::std::string string
Definition: gtest.h:1979
Schroedinger functional gauge boundary conditions.