Go to the documentation of this file.
14 #ifndef SOURCE_EXPONENTIAL_INCLUDED
15 #define SOURCE_EXPONENTIAL_INCLUDED
61 const double slope,
const double power);
66 void set(
Field& v,
const int i_color,
const int i_spin);
72 static Source *create_object()
83 static bool register_factory()
86 init &= Source::Factory::Register(
"Exponential", create_object);
87 init &= Source::Factory_params::Register(
"Exponential", create_object_with_params);
Common parameter class: provides parameters as singleton.
Source_Exponential(const Parameters ¶ms)
Exponentially smeared source for 4-spinor fermion.
void set_all_color_spin(Field &v)
Base class of source for a linear solver.
Bridge::VerboseLevel m_vl
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)
static const std::string class_name
void set_parameters(const Parameters ¶ms)
void set(Field &v, const int idx)
void get_parameters(Parameters ¶ms) const
std::vector< int > m_source_position
Container of Field-type object.
void set_all_color(Field &v, const int i_spin)