14 #ifndef SOURCE_MOMENTUM_WALL_INCLUDED
15 #define SOURCE_MOMENTUM_WALL_INCLUDED
52 const std::vector<int>& source_momentum);
55 void set(
Field& v,
const int i_color,
const int i_spin);
61 static Source *create_object()
67 static bool register_factory()
69 return Source::Factory::Register(
"MomentumWall", create_object);
Momentum wall source for 4-spinor fermion.
void set_all_color_spin(Field &v)
std::vector< int > m_source_momentum
static const std::string class_name
Container of Field-type object.
void set_all_color(Field &v, const int i_spin)
Base class of source for a linear solver.
std::vector< int > m_source_position
void set_parameters(const Parameters ¶ms)
void set(Field &v, const int idx)