Go to the documentation of this file.
14 #ifndef SOURCE_RANDOM_INCLUDED
15 #define SOURCE_RANDOM_INCLUDED
70 const std::vector<int>& source_momentum,
71 const std::string noise_type);
76 void set(
Field& src,
const int i_color,
const int i_spin);
88 static Source *create_object()
104 static bool register_factory()
107 init &= Source::Factory::Register(
"Random", create_object);
109 init &= Source::Factory_params::Register(
"Random", create_object_with_params);
void set_all_space_time(Field &src, const int ic)
Setting a noise vector. Filling all the sites and spin indices for color index "ic"....
void set(Field &src, const int idx)
Common parameter class: provides parameters as singleton.
void get_parameters(Parameters ¶ms) const
void set_parameters(const Parameters ¶ms)
Base class of random number generators.
std::vector< int > m_source_position
Source_Random(const Parameters ¶ms)
Base class of source for a linear solver.
Manager class for RandomNumbers.
int idx(const int in, const int Nin, const int ist, const int leo, const int Nvol2, const int ex)
void set_all_color_spin(Field &src)
Bridge::VerboseLevel m_vl
Random noise source in the space at a given timeslice.
std::string m_str_noise_type
static const std::string class_name
Container of Field-type object.
std::vector< int > m_source_momentum
void set_all_color(Field &src, const int i_spin)