CHROMA
ferm_createstate_aggregate_s.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief All ferm create-state method
3  */
4 
5 #include "chromabase.h"
6 
10 
11 namespace Chroma
12 {
13 
14  //! Registration aggregator
15  namespace StaggeredCreateFermStateEnv
16  {
17  //! Local registration flag
18  static bool registered = false;
19 
20  //! Register all the factories
21  bool registerAll()
22  {
23  bool success = true;
24  if (! registered)
25  {
28  registered = true;
29  }
30  return success;
31  }
32 
33 
34  // Returns a periodic group
36  {
37  GroupXML_t nope;
39 
40  XMLBufferWriter xml_tmp;
41  push(xml_tmp, "FermState");
42  write(xml_tmp, "Name", nope.id);
43  pop(xml_tmp);
44 
45  nope.xml = xml_tmp.str();
46 
47  return nope;
48  }
49 
50  }
51 
52 }
Primary include file for CHROMA library code.
All ferm create-state method.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
GroupXML_t nullXMLGroup()
Returns a periodic createstate group.
bool registerAll()
Register all the factories.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
push(xml_out,"Condensates")
pop(xml_out)
Periodic ferm state and a creator.
Simple ferm state and a creator.
Hold group xml and type id.