Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gaugeFixing.cpp
Go to the documentation of this file.
1 
14 #include "gaugeFixing.h"
15 
16 #ifdef USE_FACTORY
17 
18 #ifdef USE_FACTORY_AUTOREGISTER
19 #else
20 // setup factories for all subclasses
21 
22 #include "gaugeFixing_None.h"
23 #include "gaugeFixing_Coulomb.h"
24 #include "gaugeFixing_Landau.h"
25 
26 bool GaugeFixing::init_factory()
27 {
28  bool result = true;
29 
30  result &= GaugeFixing_None::register_factory();
31  result &= GaugeFixing_Coulomb::register_factory();
32  result &= GaugeFixing_Landau::register_factory();
33 
34  return result;
35 }
36 
37 
38 #endif /* USE_FACTORY_AUTOREGISTER */
39 
40 #endif /* USE_FACTORY */