Bridge++
Ver. 1.3.x
|
Methods to shift the even-odd field. More...
#include <shiftField_eo.h>
Public Member Functions | |
ShiftField_eo () | |
void | forward_h (Field &, const Field &, const int mu, const int ieo) |
void | backward_h (Field &, const Field &, const int mu, const int ieo) |
void | forward_h (Field &, const Field &, const int bc, const int mu, const int ieo) |
void | backward_h (Field &, const Field &, const int bc, const int mu, const int ieo) |
void | forward (Field &, const Field &, const int mu) |
void | backward (Field &, const Field &, const int mu) |
void | forward (Field &, const Field &, const int bc, const int mu) |
void | backward (Field &, const Field &, const int bc, const int mu) |
Static Public Attributes | |
static const std::string | class_name = "ShiftField_eo" |
Private Member Functions | |
ShiftField_eo (const ShiftField_eo &) | |
ShiftField_eo & | operator= (const ShiftField_eo &) |
void | up_xh (Field &, const Field &, const int, const int) |
void | up_yh (Field &, const Field &, const int, const int) |
void | up_zh (Field &, const Field &, const int, const int) |
void | up_th (Field &, const Field &, const int, const int) |
void | dn_xh (Field &, const Field &, const int, const int) |
void | dn_yh (Field &, const Field &, const int, const int) |
void | dn_zh (Field &, const Field &, const int, const int) |
void | dn_th (Field &, const Field &, const int, const int) |
Private Attributes | |
int | Nx |
int | Ny |
int | Nz |
int | Nt |
int | Nx2 |
Index_eo | idx |
Bridge::VerboseLevel | m_vl |
Methods to shift the even-odd field.
This class defines the methods that shift a given Field instance with even-odd site index in specified direction. The field must have half the size of the numbers of sites in a node, and field on even(odd) sites are shifted to a field on odd (even) sites. Thus the method is called with an argument specifying one of them: ieo (0: even<-odd, 1: odd<-even). The foreward shift means, e.g. in x-direction, At present, there is no implementation for a field which has both the even and odd entries (and should be written). v(site) = w(site-{mu}), where v is the shifted field (output, first argument) and w the original field (input, second argument). Names of private functions might be still confusing. [25 Dec 2011 H.Matsufuru]
Definition at line 45 of file shiftField_eo.h.
|
inline |
Definition at line 55 of file shiftField_eo.h.
|
private |
Definition at line 99 of file shiftField_eo.cpp.
Definition at line 147 of file shiftField_eo.cpp.
Definition at line 19 of file shiftField_eo.cpp.
void ShiftField_eo::backward_h | ( | Field & | v, |
const Field & | w, | ||
const int | bc, | ||
const int | mu, | ||
const int | ieo | ||
) |
Definition at line 61 of file shiftField_eo.cpp.
Definition at line 693 of file shiftField_eo.cpp.
Definition at line 283 of file shiftField_eo.cpp.
Definition at line 429 of file shiftField_eo.cpp.
Definition at line 560 of file shiftField_eo.cpp.
Definition at line 123 of file shiftField_eo.cpp.
Definition at line 172 of file shiftField_eo.cpp.
Definition at line 40 of file shiftField_eo.cpp.
void ShiftField_eo::forward_h | ( | Field & | v, |
const Field & | w, | ||
const int | bc, | ||
const int | mu, | ||
const int | ieo | ||
) |
Definition at line 80 of file shiftField_eo.cpp.
|
private |
Definition at line 626 of file shiftField_eo.cpp.
Definition at line 197 of file shiftField_eo.cpp.
Definition at line 364 of file shiftField_eo.cpp.
Definition at line 494 of file shiftField_eo.cpp.
|
static |
Definition at line 47 of file shiftField_eo.h.
|
private |
Definition at line 51 of file shiftField_eo.h.
|
private |
Definition at line 52 of file shiftField_eo.h.
|
private |
Definition at line 50 of file shiftField_eo.h.
|
private |
Definition at line 50 of file shiftField_eo.h.
|
private |
Definition at line 50 of file shiftField_eo.h.
|
private |
Definition at line 50 of file shiftField_eo.h.
|
private |
Definition at line 50 of file shiftField_eo.h.