Bridge++  Ver. 2.0.2
source_Staggered_Wall.h
Go to the documentation of this file.
1 
14 #ifndef SOURCE_STAGGERED_WALL_INCLUDED
15 #define SOURCE_STAGGERED_WALL_INCLUDED
16 
17 #include "Field/field_F_1spinor.h"
18 #include "Field/index_lex.h"
19 #include "Parameters/parameters.h"
20 
21 #include "IO/bridgeIO.h"
22 using Bridge::vout;
23 
25 
35 {
36  public:
37  static const std::string class_name;
38 
39  protected:
41 
42  private:
43  int m_t_src;
45 
48 
49  public:
51  : m_vl(CommonParameters::Vlevel()) {}
52 
54  : m_vl(CommonParameters::Vlevel())
55  {
56  set_parameters(params);
57  }
58 
59  private:
60  // non-copyable
63 
64  public:
65  void set_parameters(const Parameters& params);
66  void set_parameters(const int source_position);
67 
69 
70  void get_parameters(Parameters& params) const;
71 
72  void set(Field_F_1spinor& src, const int ic, const int i_src);
73 
74  private:
75  void init();
76 };
77 #endif
Source_Staggered_Wall::set
void set(Field_F_1spinor &src, const int ic, const int i_src)
Definition: source_Staggered_Wall.cpp:128
bridgeIO.h
Source_Staggered_Wall::m_vl
Bridge::VerboseLevel m_vl
Definition: source_Staggered_Wall.h:40
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
Index_lex
Lexical site index.
Definition: index_lex.h:34
Parameters
Class for parameters.
Definition: parameters.h:46
Source_Staggered_Wall::get_parameters
void get_parameters(Parameters &params) const
Definition: source_Staggered_Wall.cpp:43
Source_Staggered_Wall::set_parameter_verboselevel
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: source_Staggered_Wall.h:68
Source_Staggered_Wall::Source_Staggered_Wall
Source_Staggered_Wall(const Parameters &params)
Definition: source_Staggered_Wall.h:53
Source_Staggered_Wall::Source_Staggered_Wall
Source_Staggered_Wall()
Definition: source_Staggered_Wall.h:50
Source_Staggered_Wall
Setting source vector with wall source for staggered fermion.
Definition: source_Staggered_Wall.h:34
Source_Staggered_Wall::class_name
static const std::string class_name
Definition: source_Staggered_Wall.h:37
Source_Staggered_Wall::m_t_src
int m_t_src
Definition: source_Staggered_Wall.h:43
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
Source_Staggered_Wall::m_index
Index_lex m_index
Definition: source_Staggered_Wall.h:44
field_F_1spinor.h
Source_Staggered_Wall::set_parameters
void set_parameters(const Parameters &params)
Definition: source_Staggered_Wall.cpp:19
Source_Staggered_Wall::src_wall_1
Field src_wall_1
Definition: source_Staggered_Wall.h:46
index_lex.h
parameters.h
Source_Staggered_Wall::init
void init()
Definition: source_Staggered_Wall.cpp:79
Field_F_1spinor
Staggered-type fermion field.
Definition: field_F_1spinor.h:38
Source_Staggered_Wall::src_wall_2
Field src_wall_2
Definition: source_Staggered_Wall.h:47
Field
Container of Field-type object.
Definition: field.h:46
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
Source_Staggered_Wall::operator=
Source_Staggered_Wall & operator=(const Source_Staggered_Wall &)
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512