Bridge++  Ver. 1.3.x
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 "bridgeIO.h"
23 using Bridge::vout;
24 
26 
46  public:
47  static const std::string class_name;
48 
49  private:
50  int Nx, Ny, Nz, Nt, Nx2;
53 
54  public:
56  Nx(CommonParameters::Nx()),
57  Ny(CommonParameters::Ny()),
58  Nz(CommonParameters::Nz()),
59  Nt(CommonParameters::Nt()),
60  Nx2(CommonParameters::Nx() / 2),
61  m_vl(CommonParameters::Vlevel())
62  {
63  }
64 
65  private:
66  // non-copyable
69 
70  public:
71  void forward_h(Field&, const Field&, const int mu, const int ieo);
72  void backward_h(Field&, const Field&, const int mu, const int ieo);
73 
74  // direction, ieo (0: e<-o, 1: o<-e)
75 
76  void forward_h(Field&, const Field&, const int bc, const int mu,
77  const int ieo);
78  void backward_h(Field&, const Field&, const int bc, const int mu,
79  const int ieo);
80 
81  // boundary condition, direction, ieo (0: e<-o, 1: o<-e)
82 
83  void forward(Field&, const Field&, const int mu);
84  void backward(Field&, const Field&, const int mu);
85 
86  void forward(Field&, const Field&, const int bc, const int mu);
87  void backward(Field&, const Field&, const int bc, const int mu);
88 
89 
90 
91  private:
92  void up_xh(Field&, const Field&, const int, const int);
93  void up_yh(Field&, const Field&, const int, const int);
94  void up_zh(Field&, const Field&, const int, const int);
95  void up_th(Field&, const Field&, const int, const int);
96  void dn_xh(Field&, const Field&, const int, const int);
97  void dn_yh(Field&, const Field&, const int, const int);
98  void dn_zh(Field&, const Field&, const int, const int);
99  void dn_th(Field&, const Field&, const int, const int);
100 };
101 #endif
void backward(Field &, const Field &, const int mu)
BridgeIO vout
Definition: bridgeIO.cpp:278
Index_eo idx
Definition: shiftField_eo.h:51
ShiftField_eo & operator=(const ShiftField_eo &)
Bridge::VerboseLevel m_vl
Definition: shiftField_eo.h:52
static const std::string class_name
Definition: shiftField_eo.h:47
Container of Field-type object.
Definition: field.h:39
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:38
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:39
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)