Bridge++
Version 1.4.4
Main Page
Namespaces
Classes
Files
File List
File Members
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
fopr_WilsonGeneral.h
Fopr
Base class of fermion operator family.
Definition:
fopr.h:47
Fopr_WilsonGeneral
Org::Fopr_WilsonGeneral Fopr_WilsonGeneral
Definition:
fopr_WilsonGeneral.h:51
src
lib
Fopr
fopr_WilsonGeneral.cpp
Generated on Thu Nov 30 2017 20:51:15 for Bridge++ by
1.8.6