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