CHROMA
ferm_createstate_aggregate_w.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief All ferm create-state method
3  */
4 
5 #include "chromabase.h"
6 
8 
15 
16 namespace Chroma
17 {
18 
19  //! Registration aggregator
20  namespace CreateFermStateEnv
21  {
22  //! Local registration flag
23  static bool registered = false;
24 
25  //! Register all the factories
26  bool registerAll()
27  {
28  bool success = true;
29  if (! registered)
30  {
31  // All ferm bcs
33 
34  // All fermstates
41 
42  registered = true;
43  }
44  return success;
45  }
46 
47 
48  // Returns a periodic group
50  {
51  GroupXML_t nope;
53  nope.path = "FermState";
54 
55  XMLBufferWriter xml_tmp;
56  push(xml_tmp, "FermState");
57  write(xml_tmp, "Name", nope.id);
58  pop(xml_tmp);
59 
60  nope.xml = xml_tmp.str();
61 
62  return nope;
63  }
64 
65  }
66 }
Primary include file for CHROMA library code.
Fermion external field state and a creator.
All ferm create-state method.
All Wilson-type fermion boundary conditions.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams &param)
Writer parameters.
Hex field state for stout links and a creator.
bool registerAll()
Register all the factories.
static bool registered
Local registration flag.
GroupXML_t nullXMLGroup()
Returns a periodic createstate group.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
bool registerAll()
Register all the factories.
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.
Stout field state for stout links and a creator.
Hold group xml and type id.