Bridge++  Ver. 2.0.2
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 */
gaugeFixing_Landau.h
gaugeFixing_Coulomb.h
gaugeFixing_None.h
gaugeFixing.h