Bridge++  Ver. 1.3.x
shiftField_lex.h
Go to the documentation of this file.
1 
15 #ifndef SHIFTFIELD_LEX_INCLUDED
16 #define SHIFTFIELD_LEX_INCLUDED
17 
18 #include "communicator.h"
19 #include "commonParameters.h"
20 
21 #include "field.h"
22 #include "index_lex.h"
23 
25 
36  private:
37  int Nx, Ny, Nz, Nt;
39 
40  public:
42  Nx(CommonParameters::Nx()),
43  Ny(CommonParameters::Ny()),
44  Nz(CommonParameters::Nz()),
45  Nt(CommonParameters::Nt())
46  {
47  }
48 
49  private:
50  // non-copyable
53 
54  public:
55  void forward(Field&, const Field&, const int mu);
56  void backward(Field&, const Field&, const int mu);
57 
58  void forward(Field&, const Field&, const int bc, const int mu);
59  void backward(Field&, const Field&, const int bc, const int mu);
60 
61  private:
62  void up_x(Field *, const Field *, const int bc);
63  void up_y(Field *, const Field *, const int bc);
64  void up_z(Field *, const Field *, const int bc);
65  void up_t(Field *, const Field *, const int bc);
66  void dn_x(Field *, const Field *, const int bc);
67  void dn_y(Field *, const Field *, const int bc);
68  void dn_z(Field *, const Field *, const int bc);
69  void dn_t(Field *, const Field *, const int bc);
70 };
71 #endif
void up_t(Field *, const Field *, const int bc)
ShiftField_lex & operator=(const ShiftField_lex &)
Container of Field-type object.
Definition: field.h:39
void dn_t(Field *, const Field *, const int bc)
void dn_y(Field *, const Field *, const int bc)
void up_y(Field *, const Field *, const int bc)
void backward(Field &, const Field &, const int mu)
Common parameter class: provides parameters as singleton.
Lexical site index.
Definition: index_lex.h:34
void dn_z(Field *, const Field *, const int bc)
void up_x(Field *, const Field *, const int bc)
Methods to shift a field in the lexical site index.
void dn_x(Field *, const Field *, const int bc)
void up_z(Field *, const Field *, const int bc)
void forward(Field &, const Field &, const int mu)