Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shiftField_eo.h
Go to the documentation of this file.
1 
14 #ifndef SHIFTFIELD_EO_INCLUDED
15 #define SHIFTFIELD_EO_INCLUDED
16 
17 #include <iostream>
18 
19 #include "field.h"
20 #include "index_eo.h"
21 
22 #include "IO/bridgeIO.h"
23 using Bridge::vout;
24 
26 
46  public:
47  static const std::string class_name;
48 
49  private:
50  int m_Nx, m_Ny, m_Nz, m_Nt, m_Nx2;
52 
54 
55  public:
57  m_Nx(CommonParameters::Nx()),
58  m_Ny(CommonParameters::Ny()),
59  m_Nz(CommonParameters::Nz()),
60  m_Nt(CommonParameters::Nt()),
61  m_Nx2(CommonParameters::Nx() / 2),
62  m_vl(CommonParameters::Vlevel())
63  {
64  }
65 
66  private:
67  // non-copyable
70 
71  public:
72  void forward_h(Field&, const Field&, const int mu, const int ieo);
73  void backward_h(Field&, const Field&, const int mu, const int ieo);
74 
75  // direction, ieo (0: e<-o, 1: o<-e)
76 
77  void forward_h(Field&, const Field&, const int boundary_condition, const int mu,
78  const int ieo);
79  void backward_h(Field&, const Field&, const int boundary_condition, const int mu,
80  const int ieo);
81 
82  // boundary condition, direction, ieo (0: e<-o, 1: o<-e)
83 
84  void forward(Field&, const Field&, const int mu);
85  void backward(Field&, const Field&, const int mu);
86 
87  void forward(Field&, const Field&, const int boundary_condition, const int mu);
88  void backward(Field&, const Field&, const int boundary_condition, const int mu);
89 
90 
91 
92  private:
93  void up_xh(Field&, const Field&, const int, const int);
94  void up_yh(Field&, const Field&, const int, const int);
95  void up_zh(Field&, const Field&, const int, const int);
96  void up_th(Field&, const Field&, const int, const int);
97 
98  void dn_xh(Field&, const Field&, const int, const int);
99  void dn_yh(Field&, const Field&, const int, const int);
100  void dn_zh(Field&, const Field&, const int, const int);
101  void dn_th(Field&, const Field&, const int, const int);
102 };
103 #endif
void backward(Field &, const Field &, const int mu)
BridgeIO vout
Definition: bridgeIO.cpp:503
ShiftField_eo & operator=(const ShiftField_eo &)
Bridge::VerboseLevel m_vl
Definition: shiftField_eo.h:53
static const std::string class_name
Definition: shiftField_eo.h:47
Container of Field-type object.
Definition: field.h:45
void up_th(Field &, const Field &, const int, const int)
void dn_yh(Field &, const Field &, const int, const int)
Even-odd site index.
Definition: index_eo.h:40
Index_eo m_index_eo
Definition: shiftField_eo.h:51
void up_zh(Field &, const Field &, const int, const int)
Common parameter class: provides parameters as singleton.
void dn_th(Field &, const Field &, const int, const int)
Methods to shift the even-odd field.
Definition: shiftField_eo.h:45
void up_xh(Field &, const Field &, const int, const int)
void dn_zh(Field &, const Field &, const int, const int)
VerboseLevel
Definition: bridgeIO.h:42
void up_yh(Field &, const Field &, const int, const int)
void dn_xh(Field &, const Field &, const int, const int)
void forward(Field &, const Field &, const int mu)
void backward_h(Field &, const Field &, const int mu, const int ieo)
void forward_h(Field &, const Field &, const int mu, const int ieo)