14 #ifndef SOURCE_LOCAL_INCLUDED
15 #define SOURCE_LOCAL_INCLUDED
51 void set(
Field& v,
const int i_color,
const int i_spin);
57 static Source *create_object()
63 static bool register_factory()
65 return Source::Factory::Register(
"Local", create_object);
static const std::string class_name
void set_all_color_spin(Field &v)
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
Local source for 4-spinor fermion.
void set_all_color(Field &v, const int i_spin)
void set(Field &v, const int idx)
Base class of source for a linear solver.
std::vector< int > m_source_position