Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shiftField_lex.h
Go to the documentation of this file.
1 
14 #ifndef SHIFTFIELD_LEX_INCLUDED
15 #define SHIFTFIELD_LEX_INCLUDED
16 
17 #include "field.h"
18 #include "index_lex.h"
19 
20 #include "IO/bridgeIO.h"
21 using Bridge::vout;
22 
24 
36  public:
37  static const std::string class_name;
38 
39  private:
40  int m_Nx, m_Ny, m_Nz, m_Nt;
42 
44 
45  public:
47  m_Nx(CommonParameters::Nx()),
48  m_Ny(CommonParameters::Ny()),
49  m_Nz(CommonParameters::Nz()),
50  m_Nt(CommonParameters::Nt()),
51  m_vl(CommonParameters::Vlevel())
52  {
53  }
54 
55  private:
56  // non-copyable
59 
60  public:
61  void forward(Field&, const Field&, const int mu);
62  void backward(Field&, const Field&, const int mu);
63 
64  void forward(Field&, const Field&, const int boundary_condition, const int mu);
65  void backward(Field&, const Field&, const int boundary_condition, const int mu);
66 
67  private:
68  void up_x(Field *, const Field *, const int boundary_condition);
69  void up_y(Field *, const Field *, const int boundary_condition);
70  void up_z(Field *, const Field *, const int boundary_condition);
71  void up_t(Field *, const Field *, const int boundary_condition);
72 
73  void dn_x(Field *, const Field *, const int boundary_condition);
74  void dn_y(Field *, const Field *, const int boundary_condition);
75  void dn_z(Field *, const Field *, const int boundary_condition);
76  void dn_t(Field *, const Field *, const int boundary_condition);
77 };
78 #endif
Bridge::VerboseLevel m_vl
BridgeIO vout
Definition: bridgeIO.cpp:503
ShiftField_lex & operator=(const ShiftField_lex &)
static const std::string class_name
void up_x(Field *, const Field *, const int boundary_condition)
void up_z(Field *, const Field *, const int boundary_condition)
Container of Field-type object.
Definition: field.h:45
void dn_t(Field *, const Field *, const int boundary_condition)
Index_lex m_index_lex
void backward(Field &, const Field &, const int mu)
Common parameter class: provides parameters as singleton.
Lexical site index.
Definition: index_lex.h:34
void up_y(Field *, const Field *, const int boundary_condition)
void dn_z(Field *, const Field *, const int boundary_condition)
VerboseLevel
Definition: bridgeIO.h:42
void up_t(Field *, const Field *, const int boundary_condition)
Methods to shift a field in the lexical site index.
void dn_x(Field *, const Field *, const int boundary_condition)
void dn_y(Field *, const Field *, const int boundary_condition)
void forward(Field &, const Field &, const int mu)