Go to the documentation of this file.
14 #ifndef SOURCE_LOCAL_INCLUDED
15 #define SOURCE_LOCAL_INCLUDED
60 void set(
Field& v,
const int i_color,
const int i_spin);
66 static Source *create_object()
77 static bool register_factory()
80 init &= Source::Factory::Register(
"Local", create_object);
81 init &= Source::Factory_params::Register(
"Local", create_object_with_params);
Common parameter class: provides parameters as singleton.
void set_all_color_spin(Field &v)
std::vector< int > m_source_position
void get_parameters(Parameters ¶ms) const
Base class of source for a linear solver.
int idx(const int in, const int Nin, const int ist, const int Nx2, const int Ny, const int leo, const int Nvol2, const int ex)
void set_parameters(const Parameters ¶ms)
static const std::string class_name
Source_Local(const Parameters ¶ms)
Local source for 4-spinor fermion.
void set(Field &v, const int idx)
Container of Field-type object.
void set_all_color(Field &v, const int i_spin)
Bridge::VerboseLevel m_vl