Go to the documentation of this file.
14 #ifndef FORCE_G_INCLUDED
15 #define FORCE_G_INCLUDED
78 typedef Force_G *(*ProductCreator)();
86 ProductCreator p = Factory::Find(subtype);
88 return p ? (*p)() : 0;
93 ProductCreator_params p = Factory_params::Find(subtype);
95 return p ? (*p)(params) : 0;
98 #ifdef USE_FACTORY_AUTOREGISTER
100 static bool init_factory();
void set_config(Field_G *U)
virtual void force_core(Field &)=0
virtual void force_core(Field &v, Field *U)
virtual void get_parameters(Parameters &) const =0
virtual void force_core(Field &v, Field_G *U)
Base class of gauge force calculation.
virtual void set_parameters(const Parameters &)=0
Force_G & operator=(const Force_G &)
void set_config(Field *U)
Container of Field-type object.
std::string IdentifierType