14 #ifndef SOURCE_INCLUDED
15 #define SOURCE_INCLUDED
58 virtual void set(
Field&,
const int) = 0;
59 virtual void set(
Field&,
const int,
const int) = 0;
65 typedef Source *(*ProductCreator)();
70 ProductCreator p = Factory::Find(subtype);
72 return p ? (*p)() : 0;
75 #ifdef USE_FACTORY_AUTOREGISTER
77 static bool init_factory();
Container of Field-type object.
virtual void set_all_color_spin(Field &)=0
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Common parameter class: provides parameters as singleton.
Bridge::VerboseLevel m_vl
std::string IdentifierType
Factory template class.
Base class of source for a linear solver.
Source & operator=(const Source &)
virtual void set_all_color(Field &, const int)=0
virtual void set_parameters(const Parameters &)=0
virtual void set(Field &, const int)=0