Bridge++
Ver. 2.0.2
|
Methods to shift the even-odd field. More...
#include <shiftField_eo.h>
Public Member Functions | |
ShiftField_eo (const int Nin) | |
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 boundary_condition, const int mu, const int ieo) |
void | backward_h (Field &, const Field &, const int boundary_condition, 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 boundary_condition, const int mu) |
void | backward (Field &, const Field &, const int boundary_condition, 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 | init (const int Nin=0) |
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 | m_Nin |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Nvol |
int | m_Nx2 |
int | m_Nvol2 |
Index_eo | m_index_eo |
Bridge::VerboseLevel | m_vl |
std::vector< int > | m_yzt_eo |
Field | m_wt_x |
Field | m_vt_x |
comm. buffer in x-direction More... | |
Field | m_wt_y |
Field | m_vt_y |
comm. buffer in y-direction More... | |
Field | m_wt_z |
Field | m_vt_z |
comm. buffer in z-direction More... | |
Field | m_wt_t |
Field | m_vt_t |
comm. buffer in t-direction More... | |
Field | m_we |
Field | m_wo |
working field (even/odd) More... | |
Field | m_ve |
Field | m_vo |
working field (even/odd) More... | |
Field | m_w1 |
working field (lexical) More... | |
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 forward shift means, e.g. in mu-direction, v(site) = w(site-\hat{mu}), where v is the shifted field (output, the first argument) and w the original field (input, the second argument). At present, there is no implementation for a field which has both the even and odd entries (and should be written). Names of private functions might be still confusing. [25 Dec 2011 H.Matsufuru] Largely modified toward ver.2.0. Multi-threading is incorporated if constructed providing Nin. [27 Nov 2021 H.Matsufuru]
Definition at line 49 of file shiftField_eo.h.
|
inline |
Definition at line 76 of file shiftField_eo.h.
|
inline |
Definition at line 78 of file shiftField_eo.h.
|
private |
void ShiftField_eo::backward | ( | Field & | v, |
const Field & | w, | ||
const int | boundary_condition, | ||
const int | mu | ||
) |
Definition at line 182 of file shiftField_eo.cpp.
Definition at line 168 of file shiftField_eo.cpp.
void ShiftField_eo::backward_h | ( | Field & | v, |
const Field & | w, | ||
const int | boundary_condition, | ||
const int | mu, | ||
const int | ieo | ||
) |
Definition at line 130 of file shiftField_eo.cpp.
Definition at line 88 of file shiftField_eo.cpp.
Definition at line 912 of file shiftField_eo.cpp.
Definition at line 367 of file shiftField_eo.cpp.
Definition at line 548 of file shiftField_eo.cpp.
Definition at line 732 of file shiftField_eo.cpp.
void ShiftField_eo::forward | ( | Field & | v, |
const Field & | w, | ||
const int | boundary_condition, | ||
const int | mu | ||
) |
Definition at line 228 of file shiftField_eo.cpp.
Definition at line 175 of file shiftField_eo.cpp.
void ShiftField_eo::forward_h | ( | Field & | v, |
const Field & | w, | ||
const int | boundary_condition, | ||
const int | mu, | ||
const int | ieo | ||
) |
Definition at line 149 of file shiftField_eo.cpp.
Definition at line 109 of file shiftField_eo.cpp.
|
private |
Definition at line 21 of file shiftField_eo.cpp.
|
private |
Definition at line 825 of file shiftField_eo.cpp.
Definition at line 277 of file shiftField_eo.cpp.
Definition at line 457 of file shiftField_eo.cpp.
Definition at line 639 of file shiftField_eo.cpp.
|
static |
Definition at line 51 of file shiftField_eo.h.
|
private |
Definition at line 59 of file shiftField_eo.h.
|
private |
Definition at line 54 of file shiftField_eo.h.
|
private |
Definition at line 55 of file shiftField_eo.h.
|
private |
Definition at line 56 of file shiftField_eo.h.
|
private |
Definition at line 57 of file shiftField_eo.h.
|
private |
Definition at line 55 of file shiftField_eo.h.
|
private |
Definition at line 57 of file shiftField_eo.h.
|
private |
Definition at line 55 of file shiftField_eo.h.
|
private |
Definition at line 55 of file shiftField_eo.h.
|
private |
Definition at line 71 of file shiftField_eo.h.
|
private |
Definition at line 61 of file shiftField_eo.h.
|
private |
working field (even/odd)
Definition at line 71 of file shiftField_eo.h.
|
private |
comm. buffer in t-direction
Definition at line 68 of file shiftField_eo.h.
|
private |
comm. buffer in x-direction
Definition at line 65 of file shiftField_eo.h.
|
private |
comm. buffer in y-direction
Definition at line 66 of file shiftField_eo.h.
|
private |
comm. buffer in z-direction
Definition at line 67 of file shiftField_eo.h.
|
private |
working field (lexical)
Definition at line 72 of file shiftField_eo.h.
|
private |
Definition at line 70 of file shiftField_eo.h.
|
private |
working field (even/odd)
Definition at line 70 of file shiftField_eo.h.
|
private |
Definition at line 68 of file shiftField_eo.h.
|
private |
Definition at line 65 of file shiftField_eo.h.
|
private |
Definition at line 66 of file shiftField_eo.h.
|
private |
Definition at line 67 of file shiftField_eo.h.
|
private |
Definition at line 63 of file shiftField_eo.h.