24 XMLReader inputtop(xml, path);
43 XMLReader inputtop(xml, path);
48 read(inputtop,
"x0", input.
x0);
49 read(inputtop,
"y0", input.
y0);
67 namespace InlineSFpcacEnv
104 XMLReader paramtop(xml_in, path);
106 if (paramtop.count(
"Frequency") == 1)
121 if (paramtop.count(
"xml_file") != 0)
128 QDPIO::cerr << __func__ <<
": Caught Exception reading XML: " << e << std::endl;
157 push(xml_out,
"SFpcac");
158 write(xml_out,
"update_no", update_no);
159 write(xml_out,
"xml_file", xml_file);
162 XMLFileWriter xml(xml_file);
163 func(update_no, xml);
167 func(update_no, xml_out);
179 QDPIO::cout <<
name <<
": Schroedinger functional calculation" << std::endl;
186 multi1d<LatticeColorMatrix>
u;
187 XMLBufferWriter gauge_xml;
193 catch( std::bad_cast )
195 QDPIO::cerr <<
name <<
": caught dynamic cast error"
201 QDPIO::cerr <<
name <<
": std::map call failed: " << e
206 push(xml_out,
"SFpcac");
207 write(xml_out,
"update_no", update_no);
215 write(xml_out,
"Config_info", gauge_xml);
217 push(xml_out,
"Output_version");
218 write(xml_out,
"out_version", 1);
222 MesPlq(xml_out,
"Observables",
u);
228 XMLReader fermacttop(xml_s);
242 QDPIO::cout <<
"Try the various factories" << std::endl;
245 typedef LatticeFermion
T;
246 typedef multi1d<LatticeColorMatrix>
P;
247 typedef multi1d<LatticeColorMatrix>
Q;
258 QDPIO::cout <<
"Suitable factory found: do the measurements" << std::endl;
271 QDPIO::cout <<
"SFpcac computed: time= "
272 << swatch.getTimeInSeconds()
273 <<
" secs" << std::endl;
275 catch( std::bad_cast )
277 QDPIO::cerr <<
name <<
": caught dynamic cast error"
283 QDPIO::cout <<
name <<
": caught exception with fermion action: " << e << std::endl;
290 QDPIO::cout <<
name <<
": total time = "
291 << snoop.getTimeInSeconds()
292 <<
" secs" << std::endl;
294 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Class for counted reference semantics.
Inline measurement of Wilson loops.
void func(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the measurement.
Fourier transform phase factor support.
Class structure for fermion actions.
Fermion action factories.
All Wilson-type fermion actions.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void proginfo(XMLWriter &xml)
Print out basic information about this program.
std::string makeXMLFileName(std::string xml_file, unsigned long update_no)
Return a xml file name for inline measurements.
void SFpcac(Handle< SystemSolver< LatticeFermion > > qprop, Handle< FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > state, const SftMom &phases, bool ZVfactP, bool ZAfactP, int x0, int y0, XMLWriter &xml_out, const std::string &xml_group)
Schroedinger functional stuff.
Inline Schroedinger functional measurements.
Named object function std::map.
static bool registered
Local registration flag.
multi1d< LatticeColorMatrix > P
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
LinOpSysSolverMGProtoClover::Q Q
push(xml_out,"Condensates")
LinOpSysSolverMGProtoClover::T T
void MesPlq(const multi1d< LatticeColorMatrixF3 > &u, multi2d< Double > &plane_plaq, Double &link)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
const WilsonTypeFermAct< multi1d< LatticeFermion > > & S_f
Print out basic info about this program.
Schroedinger functional application of PCAC.
Fourier transform phase factor support.
struct Chroma::InlineSFpcacEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineSFpcacEnv::Params::SFpcac_t sfpcac