Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
source_4spinor_Exp.h
Go to the documentation of this file.
1 
14 #ifndef SOURCE_4SPINOR_EXP_INCLUDED
15 #define SOURCE_4SPINOR_EXP_INCLUDED
16 
17 #include "field_F.h"
18 #include "index_lex.h"
19 #include "parameters.h"
20 
21 #include "bridgeIO.h"
22 using Bridge::vout;
23 
25 
34 //- parameters class
36 {
37  public:
39 };
40 //- end
41 
43 {
44  protected:
46 
47  private:
48  std::valarray<int> m_source_position;
49  double m_slope, m_power;
52 
53  public:
54 
56  : m_vl(CommonParameters::Vlevel()) {}
57 
58  void set_parameters(const Parameters& params);
59  void set_parameters(std::valarray<int>& source_position,
60  double slope, double power);
61 
63 
64  void set(Field_F& src, int ic, int id);
65 };
66 #endif