Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fopr_WilsonGeneral.cpp
Go to the documentation of this file.
1 
14 #include "fopr_WilsonGeneral.h"
15 
16 #ifdef USE_FACTORY
17 namespace {
18  Fopr *create_object()
19  {
20  return new Fopr_WilsonGeneral();
21  }
22 
23 
24  Fopr *create_object_with_repr(const std::string& repr)
25  {
26  return new Fopr_WilsonGeneral(repr);
27  }
28 
29 
30  bool init1 = Fopr::Factory_noarg::Register("WilsonGeneral", create_object);
31  bool init2 = Fopr::Factory_string::Register("WilsonGeneral", create_object_with_repr);
32 }
33 #endif
Base class of fermion operator family.
Definition: fopr.h:47
Org::Fopr_WilsonGeneral Fopr_WilsonGeneral