Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
source_Wall.h
Go to the documentation of this file.
1 
14 #ifndef SOURCE_WALL_INCLUDED
15 #define SOURCE_WALL_INCLUDED
16 
17 #include "source.h"
18 #include "Field/index_lex.h"
19 
20 #include "IO/bridgeIO.h"
21 using Bridge::vout;
22 
23 
25 
32 class Source_Wall : public Source
33 {
34  public:
35  static const std::string class_name;
36 
37  public:
39 
40  void set_parameters(const Parameters& params);
41  void set_parameters(const std::vector<int>& source_position);
42 
43  void set(Field& v, int j);
44 
45  private:
47  std::vector<int> m_source_position;
48  bool m_in_node;
49 };
50 #endif /* SOURCE_WALL_INCLUDED */
BridgeIO vout
Definition: bridgeIO.cpp:495
void set(Field &v, int j)
static const std::string class_name
Definition: source_Wall.h:35
Container of Field-type object.
Definition: field.h:39
Class for parameters.
Definition: parameters.h:46
bool m_in_node
Definition: source_Wall.h:48
void set_parameters(const Parameters &params)
Definition: source_Wall.cpp:35
Lexical site index.
Definition: index_lex.h:34
Index_lex m_index
Definition: source_Wall.h:46
std::vector< int > m_source_position
Definition: source_Wall.h:47
Base class of source for a linear solver.
Definition: source.h:35
Wall source for 4-spinor fermion.
Definition: source_Wall.h:32